[20/12/18]Prototype Kernel [DTC][4.4.x]

Search This thread

Danish1999

Senior Member
Feb 12, 2016
200
632
25
Nagpur
NdMoxhE.png

Code:
#include <disclaimer.h>
* Your warranty is now void. *
* No guaranteed this'll explode your device, be careful, follow the instructions ! *
*don't point at me if your alarm dies after flashing this kernel ! *

Introduction

Hello all!
So this is Prototype™ Kernel for Lenovo Z2 Plus on which i was working.Main Purpose of the kernel is to provide balance performance to the user in daily life while giving full freedom to users to control the kernel.So this a short contribution to zuk community from my side hope you all will like it!
Thanks.

*Please read FAQ and installation instructions carefully.

Features
msm 3.18
  • Kernel rebased over als.
  • Upto date with linux stable (3.18.128)
  • Compiled with DTC+GCC9
  • Governors: Impulse, Darkness, Interactive, Conservative, Ondemand, Powersave, Userspace, Alucard, Nightmare, Chill, Blueactive
  • Relaxed, and Performance.
  • I/O Schedulers: Noop, Deadline, Cfq, ROW, Fiops, Bfq, Zen, Sio, Maple and Tripndroid.
  • F2FS Support
  • Advance TCP Congestion Control
  • Dynamic FSync
  • Boeffla WakeLock Blocker
  • Sound Control
  • Power Efficient Work Queue for major drivers and enabled by default.
  • commits to make cpuboost efficient
  • Faster app installation time
  • Simple GPU algorithm
  • PowerSuspend Drivers
  • Interactive and tuned for balance performance
  • State Notifier
  • Ships with Aroma installer
  • msm_thermal_simple instead msm_thermal
  • VDSO implementation
  • Spectrum supprt
  • Adreno idler
  • Fingerprint boost
  • And Much more.
    msm 4.4
  • Rebased on linux stable tree
  • Current Kernel version is 4.4.168
  • Latest CAF tag merged is LA.UM.7.2.r1-05500-sdm660.0
  • Toolchain used is DTC8+GCC9
  • Features
  • EAS
  • Clang Support
  • CFQ updates from upstream
  • Power Efficient WQ
  • Brought back msm_thermal_simple instead msm_thermal
  • Fingerprint Boost
  • Boosting is done through CPU-Boost+Dynamic Schedtune Boost
  • UC to 1.4 and 1.9
  • IO schedulers available:cfq,bfq,noop,fiops,sio,zen,deadline
  • Fsync on/off toogle
  • Advance TCP Algorithms
  • Spectrum support
  • USB Fast charge

Installation instructions

First time:
  • Reboot to recovery
  • Flash Prototype kernel.zip
  • Reboot

Update the kernel:
  • Reboot to recovery
  • Flash Prototypekernel.zip
  • Reboot

Coming from another kernel:
  • Reboot to recovery
  • Dirty flash your current ROM
  • Flash Prototypekernel.zip
  • Reboot

Download

Sourceforge Folder

FAQ

1. Why the kernel zip is so large?
-> Treble Pie and Treble Oreo version of the kernel are packed in single file.You have to choose your version during installation so choose carefully.

2. How frequently it will get updated?
->Well its not fixed ,most probably it will be updated after every 15 days.But if some major bug is there then there can be quick updates.

3.Do you have any telegram release channel where we will be updated about the news about this kernel?
-> Yes we have telegram channel-https://t.me/prototypereleases

4.Can we request features?
-> Yes you can request features and ill try my best to implement it but no promise ;)

5.I dont have any knowledge about governors and schedulers?
-> Dont worry if you dont have any knowledge just select next in aroma installer

6.Which ROMS are supported ?
-> Treble ROMS of pie and oreo are supported.Further compatibility will expand.

6.My phone heating after booting the kernel ?
-> Yes as the phone boots CPU carries out various tasks which lead to increase load on cpu and thus heating.So it is recommended that after flashing the kernel keep the phone idle for 10 mins and then see the magic :D

Thanks To/Credits
Code:
@amog787 (My Master)
@dmitrikudas (Helped me to boot my first kernel)
@DD3Boh (Master Dev)
@faizauthor 
@davidvinavil
@frap129
@SultanXDA 
@yarost
@davidevinavil
@andip71
@Kenny3fcb (Cleared Some Major Doubts)
@Cosmedd
@Flar2
@amarulz
@franciscofranco
@sanketp60 (For thread banner)
@movzx (For aroma installer)
@Pavan_Paps,@Gmp KV,@omkarmodgi and @lonelystag(For testing builds)

And all the authors of commit in my sources
[If i Forgot you by mistake please remind me]

Telegram Channel

@prototypereleases


XDA:DevDB Information
Prototype&trade; Kernel, Kernel for the Lenovo ZUK Z2 (Plus)

Contributors
Danish1999
Source Code: [url]https://github.com/Danish1999/msm-4.4 [/URL]

Kernel Special Features: Just Special

Version Information
Status: Stable
Current Stable Version: v4
Stable Release Date: 2018-10-29

Created 2018-10-04
Last Updated 2018-12-20
 
Last edited:
Oct 2, 2014
40
8
Asus Zenfone 5Z
Please give faster updates, that's the only hearty request. :)

---------- Post added at 06:23 PM ---------- Previous post was at 06:21 PM ----------

Sir, can you please add Spectrum app support,it is easy switching between profiles...... ?
 

apollo3x

Senior Member
Dec 6, 2014
870
229
New Delhi
Moto Edge 30 Pro
Okay, initial impression.
-Charging rate is fine.
-Pubg gameplay is smooth and this is amazing that it stayed at 40°C for me. I was shocked cuz this was only possible before in Cardinal Rom. Great work dev :)
-Battery consumption is 13-14% per full length classic match.
- Though the phone doesn't heats as such, but the idle temps are higher than stock Arrow and Moxie ie. >36°C

I haven't done a full charge, so can't really comment in battery.

But this is Greta for initial build. Thanks for this kernel. :)
 
  • Like
Reactions: Danish1999

guyz_ahead

Senior Member
May 15, 2014
420
214
Finally a pie kernel. Well managed thermals undoubtedly. Although it is too early to comment. I hope battery lasts. Please move the thread to development section. Also kernel lacks hotplugs, wakelocks, and thermal controls. Also please list the work of each governors as listed on aroma on the thread for easy governor handling. One major missing is option to overclock gpu and cpu both.
 

Palash9088

Member
Jul 27, 2018
21
2
Seoni
PUBG not working

Super fine performance but while on pubg it's taking too long just to load (About 3 mins) then it hangs up at loading screen. I'm on AEX 5.8 rooted.
Kindly Suggest something to resolve this issue. I tried reflashing kernel but it didn't workout.
Thanks again for this Super thing.
I'll add battery backup as soon as possible.

Edit- I have checked with cpu float GPU freq. are not going up.
 
Last edited:

pipyakas

Senior Member
Apr 22, 2013
1,152
281
If this is using aroma for install, can something like ElementalX where you pick the default cpu & gpu clock speeds before installing the kernel possible? Of course setting everything after booting into rom with a kernel manager is fine, but a option to run without a manager would be appreciated

Will try this later today on ArrowOS Pie, as for features Im looking forward to overclocking, thermal and voltage control to be implemented

edit: early benchmark result, with all battery-oriented choice from aroma (darkness governor, noop i/o sched, "No" at playing games). Adreno driver v328 rev3
about the same as a snapdragon 625 according to gb. Gpu performance doesn't seems to be hobbled much
 

Attachments

  • Screenshot_Geekbench_4_20181005-111949.png
    Screenshot_Geekbench_4_20181005-111949.png
    127.6 KB · Views: 884
  • Screenshot_3DMark_20181005-114237.png
    Screenshot_3DMark_20181005-114237.png
    121.2 KB · Views: 861
Last edited:

Danish1999

Senior Member
Feb 12, 2016
200
632
25
Nagpur
If this is using aroma for install, can something like ElementalX where you pick the default cpu & gpu clock speeds before installing the kernel possible? Of course setting everything after booting into rom with a kernel manager is fine, but a option to run without a manager would be appreciated

Will try this later today on ArrowOS Pie, as for features Im looking forward to overclocking, thermal and voltage control to be implemented

edit: early benchmark result, with all battery-oriented choice from aroma (darkness governor, noop i/o sched, "No" at playing games). Adreno driver v328 rev3
about the same as a snapdragon 625 according to gb. Gpu performance doesn't seems to be hobbled much
Yep that frequency selection are possible in aroma installer but I not going oc cpu.I'll think about oc gpu
 

pipyakas

Senior Member
Apr 22, 2013
1,152
281
Yep that frequency selection are possible in aroma installer but I not going oc cpu.I'll think about oc gpu

Well with how the little cluster's missing 1.56ghz frequency I guessed that asking for cpu oc would be hard :) although it's obviously the main performance bottleneck and the adreno 530 on a 1080p screen is already fast enough.
Pre-baked undervolting and voltage though would make it I hope? Can predefined uv level be implemented in aroma as well?
 

The.Night.King

Senior Member
Sep 15, 2017
735
881
Westeros
early benchmark result, with all battery-oriented choice from aroma (darkness governor, noop i/o sched, "No" at playing games). Adreno driver v328 rev3
about the same as a snapdragon 625 according to gb. Gpu performance doesn't seems to be hobbled much
Its a known issue. When you upgrade GPU drivers from 2xx on z2, geekbench fails to properly benchmark the device, GPU performance isn't considered. Antutu benchmark doesn't have this issue.
 

ahh988

Senior Member
Jan 1, 2013
156
33
Lattakia
after dirty flashing my rom then flashing the kernel all is going good performance is great but when i play pubg if i try to raise or lower the volume i get flashes in the background of the volume panel . i think its something related to the gpu drivers .
im on aex 6.0 latest
 

Palash9088

Member
Jul 27, 2018
21
2
Seoni
after dirty flashing my rom then flashing the kernel all is going good performance is great but when i play pubg if i try to raise or lower the volume i get flashes in the background of the volume panel . i think its something related to the gpu drivers .
im on aex 6.0 latest
Atleast your game is starting mine is just not loading mainscreen. I'm on AEX 5.8.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 26
    NdMoxhE.png

    Code:
    #include <disclaimer.h>
    * Your warranty is now void. *
    * No guaranteed this'll explode your device, be careful, follow the instructions ! *
    *don't point at me if your alarm dies after flashing this kernel ! *

    Introduction

    Hello all!
    So this is Prototype™ Kernel for Lenovo Z2 Plus on which i was working.Main Purpose of the kernel is to provide balance performance to the user in daily life while giving full freedom to users to control the kernel.So this a short contribution to zuk community from my side hope you all will like it!
    Thanks.

    *Please read FAQ and installation instructions carefully.

    Features
    msm 3.18
    • Kernel rebased over als.
    • Upto date with linux stable (3.18.128)
    • Compiled with DTC+GCC9
    • Governors: Impulse, Darkness, Interactive, Conservative, Ondemand, Powersave, Userspace, Alucard, Nightmare, Chill, Blueactive
    • Relaxed, and Performance.
    • I/O Schedulers: Noop, Deadline, Cfq, ROW, Fiops, Bfq, Zen, Sio, Maple and Tripndroid.
    • F2FS Support
    • Advance TCP Congestion Control
    • Dynamic FSync
    • Boeffla WakeLock Blocker
    • Sound Control
    • Power Efficient Work Queue for major drivers and enabled by default.
    • commits to make cpuboost efficient
    • Faster app installation time
    • Simple GPU algorithm
    • PowerSuspend Drivers
    • Interactive and tuned for balance performance
    • State Notifier
    • Ships with Aroma installer
    • msm_thermal_simple instead msm_thermal
    • VDSO implementation
    • Spectrum supprt
    • Adreno idler
    • Fingerprint boost
    • And Much more.
      msm 4.4
    • Rebased on linux stable tree
    • Current Kernel version is 4.4.168
    • Latest CAF tag merged is LA.UM.7.2.r1-05500-sdm660.0
    • Toolchain used is DTC8+GCC9
    • Features
    • EAS
    • Clang Support
    • CFQ updates from upstream
    • Power Efficient WQ
    • Brought back msm_thermal_simple instead msm_thermal
    • Fingerprint Boost
    • Boosting is done through CPU-Boost+Dynamic Schedtune Boost
    • UC to 1.4 and 1.9
    • IO schedulers available:cfq,bfq,noop,fiops,sio,zen,deadline
    • Fsync on/off toogle
    • Advance TCP Algorithms
    • Spectrum support
    • USB Fast charge

    Installation instructions

    First time:
    • Reboot to recovery
    • Flash Prototype kernel.zip
    • Reboot

    Update the kernel:
    • Reboot to recovery
    • Flash Prototypekernel.zip
    • Reboot

    Coming from another kernel:
    • Reboot to recovery
    • Dirty flash your current ROM
    • Flash Prototypekernel.zip
    • Reboot

    Download

    Sourceforge Folder

    FAQ

    1. Why the kernel zip is so large?
    -> Treble Pie and Treble Oreo version of the kernel are packed in single file.You have to choose your version during installation so choose carefully.

    2. How frequently it will get updated?
    ->Well its not fixed ,most probably it will be updated after every 15 days.But if some major bug is there then there can be quick updates.

    3.Do you have any telegram release channel where we will be updated about the news about this kernel?
    -> Yes we have telegram channel-https://t.me/prototypereleases

    4.Can we request features?
    -> Yes you can request features and ill try my best to implement it but no promise ;)

    5.I dont have any knowledge about governors and schedulers?
    -> Dont worry if you dont have any knowledge just select next in aroma installer

    6.Which ROMS are supported ?
    -> Treble ROMS of pie and oreo are supported.Further compatibility will expand.

    6.My phone heating after booting the kernel ?
    -> Yes as the phone boots CPU carries out various tasks which lead to increase load on cpu and thus heating.So it is recommended that after flashing the kernel keep the phone idle for 10 mins and then see the magic :D

    Thanks To/Credits
    Code:
    @amog787 (My Master)
    @dmitrikudas (Helped me to boot my first kernel)
    @DD3Boh (Master Dev)
    @faizauthor 
    @davidvinavil
    @frap129
    @SultanXDA 
    @yarost
    @davidevinavil
    @andip71
    @Kenny3fcb (Cleared Some Major Doubts)
    @Cosmedd
    @Flar2
    @amarulz
    @franciscofranco
    @sanketp60 (For thread banner)
    @movzx (For aroma installer)
    @Pavan_Paps,@Gmp KV,@omkarmodgi and @lonelystag(For testing builds)
    
    And all the authors of commit in my sources
    [If i Forgot you by mistake please remind me]

    Telegram Channel

    @prototypereleases


    XDA:DevDB Information
    Prototype&trade; Kernel, Kernel for the Lenovo ZUK Z2 (Plus)

    Contributors
    Danish1999
    Source Code: [url]https://github.com/Danish1999/msm-4.4 [/URL]

    Kernel Special Features: Just Special

    Version Information
    Status: Stable
    Current Stable Version: v4
    Stable Release Date: 2018-10-29

    Created 2018-10-04
    Last Updated 2018-12-20
    24
    Prototype™ Kernel v2.0 for Lenovo Z2 Plus is up!

    Sorry For The Delay!:(

    Changelog:
    *Upstreamed to 3.18.124
    *Latest CAF Tags merged
    *Pie and Oreo kernel are now unified
    *VDSO implementation
    *Spectrum support added
    *Switched to GCC 8.2
    *Slow loading of games is fixed
    *Unwanted drain is fixed
    *Blocked some more wakelocks
    *Thermal Threshold Tuning
    *Changes to make input boost efficient
    *Added Adreno Idler
    *Added Blueactive Governor
    Aroma installer changes
    *Changed Theme of Aroma Installer
    *Added Selinux Switch option
    *Fast charging switch
    *And many more changes...

    Download:https://sourceforge.net/projects/pr...pe Kernel/Prototype_-v2-29102018.zip/download

    Spectrum support is added in this release and there are 4 profiles in spectrum.

    1.Balance-Which is modified for balance performance.
    2.Performance-Which gives performance but hit battery life.
    3.Battery-In battery profile the cpu will be underclocked to 1.4 mhz on little and 1.8 mhz on big while giving smooth experience. Also all the cpu will switched to darkness governor.
    4.Gaming-In gaming profile the gpu will overclocked to 652 mhz

    Here is the link to spectrum app: https://play.google.com/store/apps/details?id=org.frap129.spectrum
    20
    Prototype Kernel v4 for Lenovo Z2 Plus 20/12/2018

    * First 4.4 kernel release
    * Rebased on linux stable tree
    * Current Kernel version is 4.4.168
    * Latest CAF tag merged is LA.UM.7.2.r1-05500-sdm660.0
    * Toolchain used is DTC8+GCC9
    * Features
    -EAS
    - Clang Support
    -CFQ updates from upstream
    -Power Efficient WQ
    -Brought back msm_thermal_simple instead msm_thermal
    -Fingerprint Boost
    -Boosting is done through CPU-Boost+Dynamic Schedtune Boost
    -UC to 1.4 and 1.9
    -IO schedulers available:cfq,bfq,noop,fiops,sio,zen,deadline
    -Fsync on/off toogle
    -Advance TCP Algorithms
    -Spectrum support
    -USB Fast charge
    -Some patches from Sultan's Wahoo kernel
    -More you can find on Github

    Download:
    https://sourceforge.net/projects/pr...nel/Prototype_-v4-4.4-20-12-2018.zip/download

    Little Info about Dynamic Schedtune Boost by Joshous:

    Dynamic SchedTune Boost occurs on-the-fly during interactions, such as touch input. This idea was conceived because of an existing batterydrain issue whereby setting a permanent schedtune boost would causeboosting to occur even when the phone was idling. For example, if a usersets the /dev/stune/top-app/schedtune.boost to 10, the device may notidle at the lowest frequency step, which can lead to higher idle andactive drain rates. Thus it should consume less power to boost only
    during interactions.
    So, final thing is schedtune boost will be triggered only when you will interact with the screen

    Some points to note:
    * I highly recommend permissive option in Selinux becoz in enforcing some tweaks doesnt work due to denial and ruins the performance
    * Spectrum Support is added but for now only max freq will be changed according to profiles such as
    Balance-1.4,1.9
    Battery-1.4,1.8
    Performance-Stock freq
    So if you want to show off benchmarks you can switch to performance profile and dont spam threads with low benchmarks on balance profile
    * Do not flash it on Syberia os as it has userspace boosting.It will become compatible in upcoming builds.
    * Recommended Settings is just press next next in aroma installer
    * Also read the installation instruction given in the first thread carefully
    * And again huge thanks to @DD3Boh @kenny3fcb @StarKing12, Sony and other peeps who contributed for their hard work for bringup of 4.4 Kernel and making it stable
    * Lastly sorry for little delay! Not little huge delay :)


    Bugs: Touch problems for refurbished phones
    19
    18
    Prototype™ Kernel v3.0 for Lenovo Z2 Plus is up!

    Note: This is a 3.18 kernel so please flash it on the compatible rom and 4.4 will be out in 3-4 days (in testing).

    Changelog:
    * Upstreamed to 3.18.128
    * Latest CAF Tags merged
    * Switched back to DTC Clang but now combo with GCC9
    * Fixed Sound Gain reset
    * Fixed Touch Problem on initial Boot
    * OTG problem fixed
    * LTO optimisation
    * Added Fingerprint Boost
    * Reswitched to CPU_BOOST from CPU_INPUT Boost
    * Enabled msm_performance but touch boost disabled by default
    * CFQ updates
    * CPU Boost Update from franco's kernel
    * Other improvements

    Download: https://sourceforge.net/projects/pr...rnel/Prototype_-v3-3.18-03122018.zip/download