[MM-KERNEL][UC][F2FS] Project T for MM [STOCK ROM ONLY]

Search This thread

say99

Senior Member
Nov 30, 2015
1,429
2,810
delhi
Hi,

this should be easily done, I hope I get a new version up this week (which SOME other devs will just take and sell as their own, but I am beginning to not give a ...)

haha I will really need your kernel to bring up nethunter for stock marshmallow. So can I kang your project?? :p:p
 

TheSSJ

Senior Member
Feb 25, 2010
1,777
2,276
OnePlus Nord
haha I will really need your kernel to bring up nethunter for stock marshmallow. So can I kang your project?? :p:p
You sure can Mr. ;p
I wasn't referring to you in my previous post by the way, I know that your attitude in this forum was/is always perfect ;)
I just can't stand people taking my work, removing authorship and just sell my scripts as their own.

ANYWAYS, before I upset myself again:
I have 2 days of vacation soon and I already know that I will bore myself out (at least when the baby is sleeping :silly:), then init.d and some other fixes will follow
 

Chinmay Vinod

Member
Oct 18, 2014
14
3
Vadodara
Zenfone 2 auto rebooting after flashing kernel

Hi,
I flashed the latest file from your google drive PT_1.5_anykernel. The brightness level changed but as soon as i try to change the governor or the i/o scheduler the phone hangs and restarts on its own. Also after keeping the phone idle for some time, the phone automatically restarts. Not able to use the phone properly:crying:. Uploaded my logcat.
 

Attachments

  • alogcat_z00A.txt
    32.7 KB · Views: 17

Bad-Pixel

Senior Member
Feb 2, 2012
265
92
Hello! I've downloaded the last 1.5 kernel, but when i flash it, the zenfone can't boot anymore (stuck on asus logo). Stock MM rom with magisksu and xposed. Do I miss something?

Edit: nvm, the problem was caused by the twrp 3.0.3 M4 recovery.
Downgraded to 3.0.2 M1 and now the zenfone can boot correctly after flashing pT 1.5 kernel.

Honestly i didn't notice any better battery life (compared to stock kernel) in idle condition (using ssjactive governor that has hotplug), but i will try it better in next days maybe.
I really hope the development won't end, because this kernel and his developer sounds very promising!
Thanks for your hard work @TheSSJ
 
Last edited:

say99

Senior Member
Nov 30, 2015
1,429
2,810
delhi

Bad-Pixel

Senior Member
Feb 2, 2012
265
92
@say99 Any hope to have kernel update now that .352 firmware is out? I'm not asking for ETA, just asking if we will get the update!
 

ash219

Senior Member
Mar 30, 2015
232
20
Samsung Galaxy J2
OnePlus 6

Top Liked Posts

  • There are no posts matching your filters.
  • 39
    Hello again,

    This is my work on the stock Marshmallow Kernel for Zenfone 2, based on the officially released ZF2 kernel source code.

    Please note that I do my testing on a ZE551ML 4GB 2,3GHz

    Note: This kernel works ONLY on stock based versions!​

    Features:
    Based on Zenfone 2 V4.21.40.184 kernel source (completely from scratch)
    Built with gcc4.9 toolchain
    UC to 333MHz
    Touchboost input event handler
    Added the following CPU governors:
    - Lionheart
    - Bioshock
    - Yankactive
    - TheSSJactive (Yankactive with hotplugging)

    Added IO schedulers:
    - sio
    - zen
    - vr
    - fifo
    - sioplus (credits to @boype, fixed afterwards for zf2 by me)
    - fiops
    - working ROW scheduler!!!
    - deadline

    Added TCP congestion algorithms:
    -BIC
    -CUBIC
    -WESTWOOD
    -HSTCP
    -HYBLA
    -HTCP
    -VEGAS
    -VENO
    -SCALABLE
    -LP
    -YEAH
    -ILLINOIS

    Approx. 30% faster due to CRC disabling and auditing
    Power efficient Work queues
    Powersuspend
    Dynamic FSync
    Set minimum brightness to 2 instead of 15 percent (changeable via kernel adiutor, please set it to 1 there, otherwise your screen is pretty much black)
    exfat support (no fuse, all credits to @Dorimanx, automounting of devices fixed by @sorg)
    Sweep2Sleep (all credits to Lord Boeffla)
    frandom RNG
    F2FS support
    ZRAM
    WLAN Wakelock reducer


    More to come:
    Init.d

    If I should find the time also:
    BLX
    A separate KVM build
    Compiling with another Toolchain

    How to install:

    1st pre-requisite: Unlock your Bootloader
    2nd pre-requisite: Use the stock Marshmallow ROM ;-)
    3rd pre-requisite: BACKUP!!!

    Download the flashable anykernel zip here:
    Drive

    Flash it via TWRP and reboot. The Anykernel zip preserves whatever modification you already have (xposed, root,...) and just replaces the needed parts :good:

    Credits:
    @jrior001, @crpalmer, @jamison904, @tectas, @dorimanx, @Lord Boeflla, @say99

    XDA:DevDB Information
    [MM-KERNEL][UC][F2FS] Project T for MM [STOCK ROM ONLY], Kernel for the Asus ZenFone 2

    Contributors
    TheSSJ
    Source Code: https://github.com/TheSSJ/zf2_mmkernel

    Kernel Special Features: F2FS, more governors, underclocked, more IO schedulers, westwood TCP cong

    Version Information
    Status: Stable
    Current Stable Version: 1.5
    Stable Release Date: 2016-11-25

    Created 2016-09-09
    Last Updated 2016-12-08
    8
    Reserved

    Changelog:

    25-11-2016 v1.5
    - Updated to latest kernel version from Asus Website (.184)

    23-09-2016 v1.4
    - backlight is configurable again (super simple patch)
    - Mechanism to avoid entropy depleting (aka generating random numbers as needed)

    20-09-2016 v1.3
    - set brightness to the minimum possible before the screen goes off
    - restrict user space apps to modify the min_brightness node, Kernel adiutor cannot mess around anymore with it
    - increase speed of mathematical operations

    18-09-2016 v1.2
    - Fixed deep sleep issue and camera problems

    18-09-2016 v1.0 & 1.1
    - Implemented WLAN wakelock divider (configurable in KA)
    - Enabled Deadline IO scheduler
    - Increased performance by approx. 30% (according to the rumors)
    - GPU: Set default frequency to 266MHz
    - Should automount cache and data depending if ext4 or f2fs

    17-09-2016 v0.6
    - Enabled video driver of z008, should work now
    - Built-in wireless driver instead of a module
    - Fixed urgent request handling in row scheduler
    - set ROW as default IO sched

    Older releases:

    16-09-2016 v0.5
    - Failed build while trying to reduce modules to 0

    13-09-2016 v0.4
    - Updated to latest ASUS source code (V4.21.40.134)
    - Added configurable LED blink rate (check Kernel Adiutor! Thanks to @crpalmer for the implementation and @say99 for pulling this to the source)
    - Dynamic FSync turned on by default
    - Updated Powersuspend driver to 1.7
    - Increased readahead for memory handling (this has nothing to do with reading from int./ext. storage)
    - Updated Block-system to support urgent request handling (pre-requisite to get the ROW scheduler working)
    - Added working row IO scheduler

    12-09-2016 v0.3
    - power efficient work queues
    - added quick wakeup driver (improves deep sleep)
    - under the hood Improvements

    11-09-2016 v0.2
    - added powersuspend driver
    - added dynamic fsync
    - working Anykernel zip system!

    09-09-2016 v0.1
    Initial build flashable with Anykernel system
    - UC
    - More governors
    - More IOSchedulers
    - F2FS
    - exFAT support
    - Sweep2Sleep
    - Touchboost working for Thessjactive and Yankactive
    8
    @TheSSJ updated your stuff and renamed it :p
    https://github.com/sayeed99/zf2_mmkernel

    source code update to .327
    anykernel zip always
    Fixed screen flickering issues
    Updated GPU stuff
    Updated display driver stuff
    patch to increase battery by 3-5% (GPU based)
    a few more fixes and updates

    link : https://drive.google.com/open?id=0B2DVhZKJ05fLdzhoSWtOS2Qxa1E

    common for Z00A/Z008 (its anykernel!)
    7
    I'm losing approximately 9% battery during night time (8 hours).
    Battery shows the phone is about 95% of the time in deep sleep. Is this normal?

    I am losing 1-2 % per night. Yes, the deep sleep rate is normal...as our phone model becomes older and older, the battery is beginning to struggle more and more...it's pretty normal

    How can i install SuperSu(chainfire) on stock rom(with this kernel) ?

    I flashed the kernel and restarted (no SuperSu work)
    I flashed Magisk7 fixed for ZF2 and install Magisk Manager.apk
    I flashed supersu r277 fixed for ZF2

    And no root..... I dont know what's happening :(

    All sources are in THIS post

    Can't tell you...I was on stock when I rooted my phone. Only afterwards I flashed my kernel. Since then I am still rooted when I flash an updated kernel version...Maybe you should start from scratch and first root and flash magisk, THEN flash my kernel

    Kernel source are here http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE551ML/ZE551ML4_21_40_184.zip

    Inviato dal mio ASUS_Z00AD utilizzando Tapatalk

    Implemented and building right now. Can*t tell if the sensor problems are fixed in this version though...12 files or so were updated, see my git account for info

    EDIT: Uploaded version 1.5, hopefully the sensors are fixed for the brazilian users, too
    6
    Is there any stock MM rom for Z00A flashable via twrp already ?
    Not that I know of, normally someone would just need to upload his MM system.img, the rest should be the same

    EDIT: Version 1.4 is out:
    - backlight is configurable again (super simple patch)
    - Mechanism to avoid entropy depleting (aka generating random numbers as needed)

    Will have a look for more cool optimizations