[Kernel][FEATURED] Venom kernel v5 - DP9 [MM][N][O][Releases]

Do you want the April updates preponed to Feb?


  • Total voters
    19
  • Poll closed .
Search This thread

tanish2k09

Senior Member
Jun 21, 2014
1,811
2,199
XDA_Banner_04.png


Venom Kernel for A7000 (aio_row)

Venom is designed for maximum performance and battery backup. It is made for people who depend on their phone every day.
It is feature Enriched kernel which makes your device even better than before.

Compiled with UBERTC 6.x


Features : (Note : Might vary as per versions)
  • RGB color control
  • Working RED and GREEN notification LED.
  • Smartwake for config-panel
  • Vibration control using thunderquake engine module by varun.chitre15
  • Performance and battery optimizations
  • USB fast Charging enabled by default
  • TCP Congestion Algorithm (TCPCA) set to Westwood by default
  • All other TCPCA added
  • Double tap to wake enabled + Customisable Haptic feedback
  • So much customisable dt2w, like screen area, time for tap, relative distance between taps... Much more
  • Wifi Power Management (taken from GSandeep96)
  • Fixes for blueborne bluetooth vulnerability at kernel level
  • Entropy tweaks -- Increased entropy values in random.c to max pool
  • Network tcp window tweak -- Lock window size to full for maximum speed
  • Pocket Mode to prevent dt2w from waking up screen when proximity sensor is covered
  • Enabled Forced fast charge -- Customisable
  • Standalone kernel-level livedisplay support. You can use livedisplay on any ROM, not only LineageOS-based.

CPU governors :
(In alphabetical order)

  • Darkness
  • InteractivePlus
  • Ondemand
  • Pegasusq
  • Performance
  • Poison --- Default custom governor made by me (based on ThunderX)
  • Powersaver
  • Renice
  • ThunderX
  • Userspace
  • Wheatley

Features of my Poison governor :
(Most information about the modes and tuneables in Poison governor thread)
Note : Not all tunables in latest versions are documented in Poison thread. Some are documented within the release changelogs. I'll update things when I get time.

Installation :

For custom roms:
  1. Reboot to recovery
  2. Flash the Kernel Zip
  3. Reboot to system and Enjoy

Download links and Changelog :
See second post

Supports all Custom roms (MM and N (based on MM libs) only)
Stock + Vibe Roms also Supported [MM only]
Jiayu-based ROMS (LP libs based) NOT supported.
Still more features might come. Who knows what time may bring.

Note:
* Take a Nandroid backup before installing
Appreciate me by thanking me... Or... You could donate to me if you're an Indian!!!

Donation :
How to donate ??
---> Simple. Send me a PM or mail me ( [email protected] ) and say that you're willing to donate. Further instructions will be sent by me.

I also want to build venom for myself!
Sure! You can find the link for the venom kernel source below in xda DevDB info.
The branch currently in use is "Snapshot" but you can also use "master" build which is a simpler less-featured source.
Both the sources should be compiling with ease. If they don't compile, let me know ASAP.
(Sources are a mess due to bulk releases right now, but the source will be updated with proper commit history once I'm free from school after April-may)

XDA:DevDB Information
Venom kernel aio_row, Kernel for the Lenovo A7000

Contributors
tanish2k09, rohan taneja, GSandeep, daniel_hk, Team M.A.D, aryankedare, HDHR, flar2, varun.chitre15, franciscofranco
Source Code: [url]https://github.com/tanish2k09/Venom_A7k/[/URL]

Kernel Special Features: Custom CPU governor, custom code, dynamic tuneables

Version Information
Status: Stable
Current Stable Version: 3.1
Stable Release Date: 2017-10-18

Created 2017-10-18
Last Updated 2018-06-27
 
Last edited:

tanish2k09

Senior Member
Jun 21, 2014
1,811
2,199
Latest build link :


Old builds :

First OREO build : 01 January 2018 (New Year CARNAGE OREO edition) :

No gestures. Maximum battery :
https://www.androidfilehost.com/?fid=673791459329070547

Only dt2w. Slightly less battery :
https://www.androidfilehost.com/?fid=962157660013069052

Only dt2w + swipe2wake. Same battery as only-dt2w :
https://www.androidfilehost.com/?fid=673791459329070548

Dt2w + s2w + trace2sleep. Same battery as only-dt2w :
https://www.androidfilehost.com/?fid=889964283620775590


01 January 2018 (New Year MM/N CARNAGE edition) :

1) Dt2w + swipe2wake + trace2sleep build :
https://www.androidfilehost.com/?fid=817906626617955916

2) Dt2w + swipe2wake build :
https://www.androidfilehost.com/?fid=889964283620775584

3) Only dt2w build :
https://www.androidfilehost.com/?fid=673791459329070540

4) No gestures build (pure battery) :
https://www.androidfilehost.com/?fid=962157660013069048


Note : First three builds use the same amount of battery. But the last one (pure battery) will give much more BB because the screen input is turned off completely unlike first three


12 November 2017 (108 Upstream edition) :

Smartwake kernel :
http://goo.gl/cfzpYZ

Only dt2w, no smartwake gestures (more battery) :
http://goo.gl/BK3wU9


27 October 2017 (Smartwake edition) :
https://goo.gl/WNPvAq

20 October 2017 (Fixed diwali edition) :
https://goo.gl/dWqkxH

19 October 2017 (Diwali build) :
https://goo.gl/fB9F6V

18 October 2017 :
https://goo.gl/2hhkKz


Changelogs :
Build 26 Feb 2018 (Hyperlapse Superhybrid edition with Wireguard integration) (MM/N/O)

Changelog is too big to add. Check out the release post itself
https://forum.xda-developers.com/showpost.php?p=75700463&postcount=40


First OREO build : 01 Jan 2018 (New Year CARNAGE OREO edition) +
Build 01 Jan 2018 (New Year CARNAGE)

Code:
1) Tweaked poison for more performance. Now you will feel that kernel is much more smooth than ever.

2) Added vibrator engine with real-time linking with poison. You'll feel it when you try yourself and see what this means. 

3) Upgraded to dt2w 2.0 with haptic feedback (customisable vibration level) and more efficient structure and checks. My code is 1/3 of original code. Now dt2w is much faster and smoother.

4) Added pocket mode override mechanism. Now you can tap 3 times within 0.8 seconds to override proximity sensor. Number of taps and timeout is customisable with poison. 

5) New tunables details : 

a) vibrator_on_lock : Disables vibrator on screen off completely. Capacitive buttons won't vibrate on screen off, notifications won't vibrate phone on screen off, but calls will turn screen on and then vibrator will activate. This is a good feature for those who want no notification disturbances but also don't want to enable silent mode. 
b) pocket_mode_dt2w_override_taps_number : This is the value of the number of taps that you will have to tap within timeout to wake up the screen even in proximity mode. 
c) pocket_mode_dt2w_override_taps_timeout : This is the value of the time in milliseconds within which you will have to tap to override pocket mode.
d) dt2w_tap_distance : Merged dt2w_tap_distance_x and _y into a single variable and changed the distance calculation from rectangular linear to circular radial. This us the radius of the circular region with the center as the first tap coordinates, within which you will have to tap second time within timeout to activate dt2w. Easy.
e) enable_trace2sleep : enables or disables trace2sleep gesture. See how it works in below video.
f) min_swipe_radius : Builds with s2w have this tunable. It controls the minimum required swipe length to wake up screen.

6) Merged x and y distance tunables into a single radius.

7) Enabled 7 cores while booting. (Thax to gsandeep)

8) Added my own trace2sleep gesture.

9) Added swipe2wake gesture. This is very different from sweep2wake because :
a) It can wake up the screen by swiping in any direction. Sweep2wake only wakes on full horizontal swipe.
b) Removed unnecessary sweep2sleep. Sweep2wake can't be used without Sweep2sleep enabled.
c) Removed unnecessary code checks. my code is about 10 times smaller than original sweep2wake so it is much more battery efficient and fast.
d) The swipe distance is customisable from poison.
e) Proximity support.

10) Changed host from "python" to carnage.

11) Added wakelock blockers.

12) If you have enabled the "double press power button to open camera from anywhere" feature (if present in your rom) then swiping on the screen twice really quicky will also open the camera. It's all about the speed.

13) Swipe2wake checks for proximity also. It will not wake up if in pocket.

14) Swipe2wake and Trace2sleep DO NOT consume extra battery. This is because dt2w already keeps the screen active so that's why other gestures take nil battery

Build 12 Nov 2017 (Upstreamed to 108)

Code:
1) Upstreamed to Linux version 3.10.108
2) Three new tuneables for customising dt2w
3) Poison more tuned towards smoothness and speed and also battery backup. You can literally feel that change.

Build 04 Nov 2017 (Smartwake v2.0)

Code:
1) Perfected the gestures for aex4.5,4.6 and viper 3.1.1
Now all the gestures get detected smoothly and with very high precision. In previous venom build and latest devil build, the gestures are sometimes inaccurate. Sometimes up was detected as down and left was detected as right. FIXED!!!

2) Enabled fast charge by default and set limit to 2000.

3) New tunable in poison "gesture_sensitivity". It can go from 1 to 10... 1 means more sensitive and easier detection. 10 means less sensitive and harder to detect.

4) Enabled UID_CPUTIME to prevent logcat buffer bloating.

Build 27 Oct 2017 (Smartwake edition)

Code:
1) Enabled gestures.
2) Highly tweaked gestures. I like to call these "mega-gestures" (lol)
3) Added 4 more tunables in poison governor.

New tuneables :

1) Ac_charge_level : Sets maximum charging limit with charger
2) USB_charge_level : sets max charging limit from usb (laptop and others)

3) Gesture_min_x : Minimum length of screen pixels to swipe before activating gestures in horizontal direction.

4) Gesture_min_y : Minimum length of screen pixels to swipe before activating gestures in vertical direction.

Build 20 Oct 2017 (Fixed diwali build)

Code:
-->Fixed revert_dt2w_area_bounded_by_xy tuneable

Build 19 Oct 2017 (Diwali build)

Code:
--->Added Dt2w trigger area co-ordinates tuneables in poison.
They are "X_left", "X_right", "Y_up", "Y_down". To learn what they do and how to use, go to the poison explanation thread. Link in last of this post.
--->Added negative tuneable of above tuneable. Go to poison thread for more info. Called "revert_dt2w_area_bounded_by_xy"
--->Added tuneable to enable/disable pocket_mode to remove conflicts with vibe roms.
--->Optimised power interrupt delay. Now screen should wake up faster than before.
--->Renamed "dt2w_regions" tuneable to "dt2w_on_buttons"
--->Brought up whole new thread for poison governor. Check end of this post. :D

Build 18 Oct 2017

Code:
1) Added tunable in poison "dt2w_regions" to control dt2w activation from capacitive buttons.
2) Added WiFi power management. To control you can use thunderzap app from play store, or
3) Added WiFi power management tuneable in poison "WificustPowerMode". Works like (2) but without that app.
4) Added ZEN iosched.
5) Removed smartwake gestures used in aex4.5 and aex4.6





All previous builds can be found in this thread :
https://forum.xda-developers.com/lenovo-a7000/development/kernel-venom-kernel-lenovo-a7000-t3656348
 
Last edited:

tanish2k09

Senior Member
Jun 21, 2014
1,811
2,199
Please don't bloat this thread now. It has already been cleaned by mods and I don't want to keep disturbing them. If you have any queries, please go ask it in the other support thread. Link is given below.

Also, for best experience, open this thread from desktop browser :)

Misc Links :
1 ) How to use trace2sleep and swipe2wake video explanation :
https://goo.gl/JWhw9k

2) Venom kernel support thread :
https://forum.xda-developers.com/lenovo-a7000/development/kernel-venom-kernel-lenovo-a7000-t3656348
 
Last edited:

tanish2k09

Senior Member
Jun 21, 2014
1,811
2,199

tanish2k09

Senior Member
Jun 21, 2014
1,811
2,199
Presenting VENOM MAXIMUM V2 kernel.

Venom maximum V2 smartwake edition

Changelog from last V1 :

1) Enabled gestures.
2) Highly tweaked gestures. I like to call these "mega-gestures" (lol)
3) Added 4 more tunables in poison governor.
4) Kept fast charge disabled by default to prevent harm. Enable manually.

New tuneables :

1) Ac_charge_level : Sets maximum charging limit with charger
2) USB_charge_level : sets max charging limit from usb (laptop and others)

3) Gesture_min_x : Minimum length of screen pixels to swipe before activating gestures in horizontal direction.

4) Gesture_min_y : Minimum length of screen pixels to swipe before activating gestures in vertical direction.

Link :
https://goo.gl/WNPvAq
 
Last edited:

tanish2k09

Senior Member
Jun 21, 2014
1,811
2,199
The gestures like O for flash, up for dialer, down for music are now much more optimised and faster and also smarter as I've tweaked the code to detect the gestures.

I've actually added more code of my own to make it sharper and precise.

You can easily feel the difference between the accuracy of my kernel gestures and the rough approximate gestures of devil kernel.

I recommend you to switch to my enhanced smartwake gestures build.


How to use gestures properly :
Press finger on screen and hold like that for 0.5 seconds. Then make the gesture you want (preferably in a clockwise direction, though it is only because that's how to program calculates the gesture. If you know c++ then you can also see the marvelous, genius code of smartwake file. I appreciate the original Dev for thinking it up. The algorithm is amazing, and requires brain.)

Simple.

I've also cleaned up some code from smartwake and will clean further in later build.

I'm planning to make the next build free of bloat code and to enabled fast charge with safe values by default.
 

tanish2k09

Senior Member
Jun 21, 2014
1,811
2,199
Venom kernel maximum build 4th Nov Smartwake v2.0 :

Changelog :
1) Perfected the gestures for aex4.5,4.6 and viper 3.1.1
Now all the gestures get detected smoothly and with very high precision. In previous venom build and latest devil build, the gestures are sometimes inaccurate. Sometimes up was detected as down and left was detected as right. FIXED!!!

2) Enabled fast charge by default and set limit to 2000.

3) New tunable in poison "gesture_sensitivity". It can go from 1 to 10... 1 means more sensitive and easier detection. 10 means less sensitive and harder to detect.

4) Enabled UID_CPUTIME to prevent logcat buffer bloating.
Thx to Aryan Kedare and gsandeep96

Link :
https://goo.gl/j3sPNE

PS : I have been unable to update the poison thread since last build and so far 5 tuneables of Poison governor have not been explained in that thread. I'll update it ever I get time in future. Please don't expect major updates from any dev for some time now, because a transition is happening. On behalf of all devs, I ask you to not disturb anyone for at least a month, except for reporting bugs (with logs) and providing fixes (if found).
 
Last edited:

aswinp222

Senior Member
Oct 2, 2015
204
206
kottayam
Soft keys vibrates and pressing the back button wakes up the screen even after disabling each and every options under 'wake' section in kernel auditor.It is really annoying
 

ahmedsaadimam

Senior Member
Sep 13, 2017
96
64
Kafr El-Shiekh
@tanish2k09 The Best Kernel For My Phone Lenovo A7000-a , I'm Using Your Own CPU Governor "Poison" It's Having The Best Battery Backup & Best DAMNED Performance But I Having A Problem When I Charge My Phone With Computer The Indicator When Is In 40% It's Down To 39% , How To Fix It ???!!!?

I'm Using Resurrection Remix ROM Official Release By @Rohan Taneja Latest Build 2- 10-2017 .
 
Last edited:

tanish2k09

Senior Member
Jun 21, 2014
1,811
2,199
@tanish2k09 The Best Kernel For My Phone Lenovo A7000-a , I'm Using Your Own CPU Governor "Poison" It's Having The Best Battery Backup & Best DAMNED Performance But I Having A Problem When I Charge My Phone With Computer The Indicator When Is In 40% It's Down To 39% , How To Fix It ???!!!?

I'm Using Resurrection Remix ROM Official Release By @Rohan Taneja Latest Build 2- 10-2017 .
Turning off the screen while usb charging will increase the charge speed very much. Charging is very slow when screen is on
 
  • Like
Reactions: DinIslamJoy

tanish2k09

Senior Member
Jun 21, 2014
1,811
2,199
@tanish2k09 The Best Kernel For My Phone Lenovo A7000-a , I'm Using Your Own CPU Governor "Poison" It's Having The Best Battery Backup & Best DAMNED Performance But I Having A Problem When I Charge My Phone With Computer The Indicator When Is In 40% It's Down To 39% , How To Fix It ???!!!?

I'm Using Resurrection Remix ROM Official Release By @Rohan Taneja Latest Build 2- 10-2017 .
Turning off the screen while usb charging will increase the charge speed very much. Charging is very slow when screen is on.

Otherwise change the usb_charge_level tunable value to something higher. I WON'T TAKE RESPONSIBILITY FOR ANYTHING BAD THAT MIGHT HAPPEN TO YOUR DEVICE IN DOING SO.
There. I've warned and told you. Now it's your choice.:highfive:

Edit : New update will be released on Sunday.
 
  • Like
Reactions: DinIslamJoy

Top Liked Posts

  • There are no posts matching your filters.
  • 24
    XDA_Banner_04.png


    Venom Kernel for A7000 (aio_row)

    Venom is designed for maximum performance and battery backup. It is made for people who depend on their phone every day.
    It is feature Enriched kernel which makes your device even better than before.

    Compiled with UBERTC 6.x


    Features : (Note : Might vary as per versions)
    • RGB color control
    • Working RED and GREEN notification LED.
    • Smartwake for config-panel
    • Vibration control using thunderquake engine module by varun.chitre15
    • Performance and battery optimizations
    • USB fast Charging enabled by default
    • TCP Congestion Algorithm (TCPCA) set to Westwood by default
    • All other TCPCA added
    • Double tap to wake enabled + Customisable Haptic feedback
    • So much customisable dt2w, like screen area, time for tap, relative distance between taps... Much more
    • Wifi Power Management (taken from GSandeep96)
    • Fixes for blueborne bluetooth vulnerability at kernel level
    • Entropy tweaks -- Increased entropy values in random.c to max pool
    • Network tcp window tweak -- Lock window size to full for maximum speed
    • Pocket Mode to prevent dt2w from waking up screen when proximity sensor is covered
    • Enabled Forced fast charge -- Customisable
    • Standalone kernel-level livedisplay support. You can use livedisplay on any ROM, not only LineageOS-based.

    CPU governors :
    (In alphabetical order)

    • Darkness
    • InteractivePlus
    • Ondemand
    • Pegasusq
    • Performance
    • Poison --- Default custom governor made by me (based on ThunderX)
    • Powersaver
    • Renice
    • ThunderX
    • Userspace
    • Wheatley

    Features of my Poison governor :
    (Most information about the modes and tuneables in Poison governor thread)
    Note : Not all tunables in latest versions are documented in Poison thread. Some are documented within the release changelogs. I'll update things when I get time.

    Installation :

    For custom roms:
    1. Reboot to recovery
    2. Flash the Kernel Zip
    3. Reboot to system and Enjoy

    Download links and Changelog :
    See second post

    Supports all Custom roms (MM and N (based on MM libs) only)
    Stock + Vibe Roms also Supported [MM only]
    Jiayu-based ROMS (LP libs based) NOT supported.
    Still more features might come. Who knows what time may bring.

    Note:
    * Take a Nandroid backup before installing
    Appreciate me by thanking me... Or... You could donate to me if you're an Indian!!!

    Donation :
    How to donate ??
    ---> Simple. Send me a PM or mail me ( [email protected] ) and say that you're willing to donate. Further instructions will be sent by me.

    I also want to build venom for myself!
    Sure! You can find the link for the venom kernel source below in xda DevDB info.
    The branch currently in use is "Snapshot" but you can also use "master" build which is a simpler less-featured source.
    Both the sources should be compiling with ease. If they don't compile, let me know ASAP.
    (Sources are a mess due to bulk releases right now, but the source will be updated with proper commit history once I'm free from school after April-may)

    XDA:DevDB Information
    Venom kernel aio_row, Kernel for the Lenovo A7000

    Contributors
    tanish2k09, rohan taneja, GSandeep, daniel_hk, Team M.A.D, aryankedare, HDHR, flar2, varun.chitre15, franciscofranco
    Source Code: [url]https://github.com/tanish2k09/Venom_A7k/[/URL]

    Kernel Special Features: Custom CPU governor, custom code, dynamic tuneables

    Version Information
    Status: Stable
    Current Stable Version: 3.1
    Stable Release Date: 2017-10-18

    Created 2017-10-18
    Last Updated 2018-06-27
    14
    An update about progress

    This post is to give you guys an update about what's happening with Venom right now.

    Before we begin, let me tell you guys, the next update for venom will be a big one. Probably the biggest one till now.

    Here's a checklist of features that are going to happen in next update :
    1) Fully customisable Wake Gestures will be added (implementation adapted from flar2, the developer of Elementalx kernel). In this, you can choose the action of every gesture from an app. You can assign some apps, or flashlight, or even a shortcut to the gestures. See the screenshot attached below for a better idea.

    Note : You will still get smartwake (for some nougat ROMs) as an alternative.

    2) Option to disable mtk's default low-performance mode when battery is low. Also, you will be able to customise at what battery level low performance mode is activated. Here is what mtk's low performance mode does : Set max frequency to 1Ghz and allow max 4 cpu cores to be working.

    Note : MTK's low-performance mode on low battery is responsible for performance drop and lags on low battery.

    3) Updated anykernel2 scripts

    4) Flashing custom venom bootlogo on flashing kernel from twrp :D
    (The bootlogo is from Venom 2018 Marvel movie to credits to them, and to Oppa Rudy for providing me so many bootlogos)

    5) Feature to stop charging the phone on reaching a customisable battery limit. Example, you can customise it to stop the charging on 80%
    (Note : This feature is currently under discussion to add or not. If you want this feature, please provide me with a good reason to do so in this thread. PM's will be ignored)

    6) Faster charging speed support (will work only with a fast charger and a charging wire that supports fast charging).

    7) Venom Kernel will be made open-source with a commit history. Unfortunately it isn't ready yet so I'll start commiting to the basic aio_row kernel source fork I made.

    8) Option to keep wakeup gestures enabled when phone is charging.

    9) Remove trace2sleep's touch panel activation dependency. This means trace2sleep doesn't use any battery from now.

    10) Divide Venom builds into two versions, one with 5ghz WiFi enabled (but open hotspot will not work) and another with fully working hotspot (but 5ghz WiFi disabled)

    Now the biggest progress and change :

    11) Venom Kernel Manager (VKM) is an application being developed by me to help users benefit from the immense amount of awesomeness and customisation of Venom kernel. You will no longer have to use complicated tunable tweaking from Poison.
    This has two benefits :
    -- This will help me to manage all the customisation using module-specific sysfs. This means that I can completely remove Poison governor from my kernel and replace it with a highly tuned ThunderX by default. (Note that poison was based on thunderx also, and you will still get an amazing battery backup using thunderx on mtk devices)

    -- Users can easily customise values with a beautiful material design app.

    Note : VKM is highly alpha and Work-in-progress and will take time. It will be released in a "free" and a "premium" version. Premium version will have more features like more customisation of kernel and app itself (like a theme support and profile-sharing and per-app profiles).
    After release, if you think the price of the app is too high for you, you can PM me to request a promo code. Old venom users and supporters will get a promo code on request.

    Check out the Screenshot of Venom Kernel Manager below. Under-development photo.
    14
    Venom v4 - DP6 MTKILLER 20180513

    Kernel link :
    Unified zip for all MM+N+O :
    http://bit.ly/Venomv4-DP6

    This is a completely revamped zip which is smart enough to select the correct kernel, and flash with correctly on the correct android version. The Marshmallow ROMs which used to bootloop before will no longer bootloop. You can flash this zip on ANY rom and the zip will handle the rest. :D


    How to install :
    1) Download
    2) Flash from twrp
    3) Reboot.


    CHANGELOG (Spoiler : It's HUUUUGGEEEEEE)

    1. Fastest ever build. Buttery smooth and fluid. The best MTK kernel ever built. #TheSpeedYouNeed

    2. In MM/N kernels, LED hybrid for vibe and custom ROMs. This means that there is no need to make separate kernels for vibe ROMs.

    3. Added voltage interface (But that's majorly for very advanced users. Don't use it if you don't know what it can do).

    4. Added ability to overclock CPU to 1.7ghz. By default only stock frequencies are used. (Open kernel adiutor and increase max freq to overclock).

    5. Fixed mt_cpufreq.c and cpufreq.c (scaling_max_freq) to forcefully make CPU follow the frequency limits. You can see in devil or daredevil or any other kernel that if you set max frequency at 1287mhz, the CPU will still go to 1495mhz if you try to add load on CPU (like scrolling). That is what this point fixes.

    6. Disabled MTK's low-battery performance restrictions on CPU and GPU. Now CPU can stay at max frequency even below 15% battery but only max 4 CPU cores will be allowed by default. You can change it from /proc/cpufreq/cpufreq_mtk_cpunum_throttle files. GPU has no performance restrictions now, thanks to me. :D

    7. MTK's own limited_max_freq_by_user is now READ-ONLY in kernel, to remove conflict with my files in above point.

    8. Disabled MTK's cpufreq boost and added dynamic boost+touch boost instead for CPU.

    9. GPU can now be overclocked from 598 to 728 along with input boost which now obeys my policy instead of mtk bumping. Overclock bool path is /proc/gpufreq/allow_gpu_oc_700.

    10. Added gaming_mode in poison. It will keep max frequency, or above 1495 if limits permit it, when screen is on. On screen off poison will return to the normal "smart" mode which scales according to load. Gaming mode also keeps 4 cores enabled all the time. This will give a much better frame rate and performance but will use more battery.

    11. Added config.gz support. You can literally see the kernel config which the kernel was compiled with from /proc/config.gz

    12. Disabled battery-related performance drops on the GPU. No longer frame rate drop at 15%

    13. Added frandom

    14. Game mode will now lock 4 cores permanently on screen on. Screen off will become normal.

    15. Dynamic boost + touch boost added. Input now boosts 4 cores externally but frequency is set using poison's algorithms.

    16. Busted minor warnings in Poison.

    17. Removed KSM. This means more battery.

    18. Revamped twrp scripts completely! Unified zip with mtk legacy support. Just flash the zip on any ROM and zip will handle rest automatically.

    19. More secure flashing (no loopholes)

    20. Fixed phone call gesture activation. Gestures won't work in call now. If you face any issues with gestures in call, lemme know.

    21. Tweaked cpufreq voltages to stabilize the overclocked frequencies. Higher frequency generates more heat.

    22. Made MM/N kernel engineer build instead of normal. Engineer builds have all internal settings unlocked in procfs and sysfs. Oreo is normal build and will not be made engineer build.

    23. Changed ramp up step default value in Poison to 1495000 for smoother scrolling.

    24. Battery drain config set to 60. This means that the battery drain will come around 60-50%

    25. Added haptic feedback vibration factor to make the vibes "shorter". Path : /sys/devices/virtual/timed_output/vibrator/haptic_factor (Higher value = Shorter vibe) (Value range : 100-1000)
      (Danger : Not recommended above 200. Vibrator is practically not working at that value and above.)

    26. Improved cust_vibrator by reducing the activation timer which results in a quicker ting like the better devices. However, we are restricted by the hardware so it can only be improved to a limit.

    27. MM/N kernel are now forced-permissive in kernel source. No external command or app or ROM can make it enforcing.

    28. Fixed init.d patch in script

    29. Maxed out the entropy to max-pool-size for the best snappy experience. And it helps with I/O also. Good for gaming.

    30. All the gestures are now in a single build. For more battery without gestures you can go to poison tunables and enable force_disable_gestures_hard. For RRN5.8.5 and ViperOS 3.1.1 smartwake gestures are enabled by default. For other ROMs, there's a switch for smartwake_overrides_customgestures which can be disabled to use the wake gestures of ElementalX kernel using this app : Wake-gestures-app. Wake gestures give you full control of the actions of the gestures. Swipe up,down,left,right, double-tap to toggle flash, open apps or trigger actions. Anything. Huge thanks to ceco89 and flar2.

    31. Gestures sysfs files now change dynamically according to the selected gestures mode. Smartwake mode will hide s2w,s2s and wake gestures files. Enabling wake gestures will now hide smartwake files and enable s2s,s2w,wakegestures files. DT2W has been rewritten to work independently in case of smartwake and when wakegestures are disabled. DT2W attaches to wake gestures when wake gestures are enabled via changing smartwake_overrides_customgestures to 0 and opening the app linked above.

    32. Added customisable haptic feedback for wake gestures and s2w via poison tunable "s2w_vibe".

    33. Adding all gestures together means that any ROM can use gestures in one way or the other. Everyone benefits together. No need for separate gestureless builds, wake gesture builds and smartwake builds. Just one build to rule them all. #Hybrid

    34. Fixed a bug in gestures when disabling dt2w causes every other gesture to stop working.

    35. Changed Venom's overall theme. The theme is a CPU filled with poisonous green liquid. The zip will flash a venom bootlogo on your device, special thanks for making logos to Oppa Rudy.

    36. Added automatic brightness dimmer at display-level which can activate and deactivate itself automatically at set hours. To enable timed brightness dimmer, go to Poison and change brightness_lvl_auto_enable to 1. Start and end times are controlled by brightness_lvl_auto_hour_start and brightness_lvl_auto_hour_end. The reduction of brightness level is set by brightness_lvl (lower is darker)

    37. Added tunable "force_enable_gestures_charging" which can enable screen gestures when charging. Use along with force_disable_gestures_HARD to save battery while not charging and enable gestures when charging. By default both are disabled and gestures work all the time.

    38. Improved Livedisplay a lot internally in Poison and mtk_disp_mgr. Now if you enable livedisplay from kernel, it will remove lineageOS's access and it won't conflict anymore. Only kernel part will work.

    39. Removed extra useless CPU governors. Who would even need anything other than poison.

    40. Removed the "modes" from Poison. Only kept rewritten (and much better) gaming_mode.

    41. Latest wireguard patch added.

    42. Disabled 5Ghz WiFi support to fix open hotspot
    9
    And guys, if you feel that something is still missing, here's another blast!!!

    Introducing...



    VENOM-O series for Android Oreo ROMs !!!
    Not 1, not 2, not 3, but total 4 variants for every type of user!

    Variant 1 :
    No gestures. Maximum battery :
    https://www.androidfilehost.com/?fid=673791459329070547

    Variant 2 :
    Only dt2w. Slightly less battery :
    https://www.androidfilehost.com/?fid=962157660013069052

    Variant 3 :
    Only dt2w + swipe2wake. Same battery as only-dt2w :
    https://www.androidfilehost.com/?fid=673791459329070548

    Variant 4 :
    Dt2w + s2w + trace2sleep. Same battery as only-dt2w :
    https://www.androidfilehost.com/?fid=889964283620775590



    Changelogs :

    Initial Oreo release.
    Added everything from older nougat venom releases.
    Changelogs same as Nougat carnage builds.
    Kernel is stable. Every feature has been tested by @AKS12. Without his help it wasn't possible.
    8
    Latest build link :


    Old builds :

    First OREO build : 01 January 2018 (New Year CARNAGE OREO edition) :

    No gestures. Maximum battery :
    https://www.androidfilehost.com/?fid=673791459329070547

    Only dt2w. Slightly less battery :
    https://www.androidfilehost.com/?fid=962157660013069052

    Only dt2w + swipe2wake. Same battery as only-dt2w :
    https://www.androidfilehost.com/?fid=673791459329070548

    Dt2w + s2w + trace2sleep. Same battery as only-dt2w :
    https://www.androidfilehost.com/?fid=889964283620775590


    01 January 2018 (New Year MM/N CARNAGE edition) :

    1) Dt2w + swipe2wake + trace2sleep build :
    https://www.androidfilehost.com/?fid=817906626617955916

    2) Dt2w + swipe2wake build :
    https://www.androidfilehost.com/?fid=889964283620775584

    3) Only dt2w build :
    https://www.androidfilehost.com/?fid=673791459329070540

    4) No gestures build (pure battery) :
    https://www.androidfilehost.com/?fid=962157660013069048


    Note : First three builds use the same amount of battery. But the last one (pure battery) will give much more BB because the screen input is turned off completely unlike first three


    12 November 2017 (108 Upstream edition) :

    Smartwake kernel :
    http://goo.gl/cfzpYZ

    Only dt2w, no smartwake gestures (more battery) :
    http://goo.gl/BK3wU9


    27 October 2017 (Smartwake edition) :
    https://goo.gl/WNPvAq

    20 October 2017 (Fixed diwali edition) :
    https://goo.gl/dWqkxH

    19 October 2017 (Diwali build) :
    https://goo.gl/fB9F6V

    18 October 2017 :
    https://goo.gl/2hhkKz


    Changelogs :
    Build 26 Feb 2018 (Hyperlapse Superhybrid edition with Wireguard integration) (MM/N/O)

    Changelog is too big to add. Check out the release post itself
    https://forum.xda-developers.com/showpost.php?p=75700463&postcount=40


    First OREO build : 01 Jan 2018 (New Year CARNAGE OREO edition) +
    Build 01 Jan 2018 (New Year CARNAGE)

    Code:
    1) Tweaked poison for more performance. Now you will feel that kernel is much more smooth than ever.
    
    2) Added vibrator engine with real-time linking with poison. You'll feel it when you try yourself and see what this means. 
    
    3) Upgraded to dt2w 2.0 with haptic feedback (customisable vibration level) and more efficient structure and checks. My code is 1/3 of original code. Now dt2w is much faster and smoother.
    
    4) Added pocket mode override mechanism. Now you can tap 3 times within 0.8 seconds to override proximity sensor. Number of taps and timeout is customisable with poison. 
    
    5) New tunables details : 
    
    a) vibrator_on_lock : Disables vibrator on screen off completely. Capacitive buttons won't vibrate on screen off, notifications won't vibrate phone on screen off, but calls will turn screen on and then vibrator will activate. This is a good feature for those who want no notification disturbances but also don't want to enable silent mode. 
    b) pocket_mode_dt2w_override_taps_number : This is the value of the number of taps that you will have to tap within timeout to wake up the screen even in proximity mode. 
    c) pocket_mode_dt2w_override_taps_timeout : This is the value of the time in milliseconds within which you will have to tap to override pocket mode.
    d) dt2w_tap_distance : Merged dt2w_tap_distance_x and _y into a single variable and changed the distance calculation from rectangular linear to circular radial. This us the radius of the circular region with the center as the first tap coordinates, within which you will have to tap second time within timeout to activate dt2w. Easy.
    e) enable_trace2sleep : enables or disables trace2sleep gesture. See how it works in below video.
    f) min_swipe_radius : Builds with s2w have this tunable. It controls the minimum required swipe length to wake up screen.
    
    6) Merged x and y distance tunables into a single radius.
    
    7) Enabled 7 cores while booting. (Thax to gsandeep)
    
    8) Added my own trace2sleep gesture.
    
    9) Added swipe2wake gesture. This is very different from sweep2wake because :
    a) It can wake up the screen by swiping in any direction. Sweep2wake only wakes on full horizontal swipe.
    b) Removed unnecessary sweep2sleep. Sweep2wake can't be used without Sweep2sleep enabled.
    c) Removed unnecessary code checks. my code is about 10 times smaller than original sweep2wake so it is much more battery efficient and fast.
    d) The swipe distance is customisable from poison.
    e) Proximity support.
    
    10) Changed host from "python" to carnage.
    
    11) Added wakelock blockers.
    
    12) If you have enabled the "double press power button to open camera from anywhere" feature (if present in your rom) then swiping on the screen twice really quicky will also open the camera. It's all about the speed.
    
    13) Swipe2wake checks for proximity also. It will not wake up if in pocket.
    
    14) Swipe2wake and Trace2sleep DO NOT consume extra battery. This is because dt2w already keeps the screen active so that's why other gestures take nil battery

    Build 12 Nov 2017 (Upstreamed to 108)

    Code:
    1) Upstreamed to Linux version 3.10.108
    2) Three new tuneables for customising dt2w
    3) Poison more tuned towards smoothness and speed and also battery backup. You can literally feel that change.

    Build 04 Nov 2017 (Smartwake v2.0)

    Code:
    1) Perfected the gestures for aex4.5,4.6 and viper 3.1.1
    Now all the gestures get detected smoothly and with very high precision. In previous venom build and latest devil build, the gestures are sometimes inaccurate. Sometimes up was detected as down and left was detected as right. FIXED!!!
    
    2) Enabled fast charge by default and set limit to 2000.
    
    3) New tunable in poison "gesture_sensitivity". It can go from 1 to 10... 1 means more sensitive and easier detection. 10 means less sensitive and harder to detect.
    
    4) Enabled UID_CPUTIME to prevent logcat buffer bloating.

    Build 27 Oct 2017 (Smartwake edition)

    Code:
    1) Enabled gestures.
    2) Highly tweaked gestures. I like to call these "mega-gestures" (lol)
    3) Added 4 more tunables in poison governor.
    
    New tuneables :
    
    1) Ac_charge_level : Sets maximum charging limit with charger
    2) USB_charge_level : sets max charging limit from usb (laptop and others)
    
    3) Gesture_min_x : Minimum length of screen pixels to swipe before activating gestures in horizontal direction.
    
    4) Gesture_min_y : Minimum length of screen pixels to swipe before activating gestures in vertical direction.

    Build 20 Oct 2017 (Fixed diwali build)

    Code:
    -->Fixed revert_dt2w_area_bounded_by_xy tuneable

    Build 19 Oct 2017 (Diwali build)

    Code:
    --->Added Dt2w trigger area co-ordinates tuneables in poison.
    They are "X_left", "X_right", "Y_up", "Y_down". To learn what they do and how to use, go to the poison explanation thread. Link in last of this post.
    --->Added negative tuneable of above tuneable. Go to poison thread for more info. Called "revert_dt2w_area_bounded_by_xy"
    --->Added tuneable to enable/disable pocket_mode to remove conflicts with vibe roms.
    --->Optimised power interrupt delay. Now screen should wake up faster than before.
    --->Renamed "dt2w_regions" tuneable to "dt2w_on_buttons"
    --->Brought up whole new thread for poison governor. Check end of this post. :D

    Build 18 Oct 2017

    Code:
    1) Added tunable in poison "dt2w_regions" to control dt2w activation from capacitive buttons.
    2) Added WiFi power management. To control you can use thunderzap app from play store, or
    3) Added WiFi power management tuneable in poison "WificustPowerMode". Works like (2) but without that app.
    4) Added ZEN iosched.
    5) Removed smartwake gestures used in aex4.5 and aex4.6





    All previous builds can be found in this thread :
    https://forum.xda-developers.com/lenovo-a7000/development/kernel-venom-kernel-lenovo-a7000-t3656348