1. Download our Official Android App: Forums for Android!

Root [KERNEL][Linaro][Hybrid] ZER0 Kernel for Samsung Galaxy Avant

Discussion in 'Android Devices' started by Dm47021, Jun 11, 2016.

  1. Dm47021

    Dm47021 Android Expert
    Thread Starter
    Rank:
     #78
    Points:
    323
    Posts:
    1,472
    Joined:
    Nov 26, 2011

    Nov 26, 2011
    1,472
    2,115
    323
    Male
    tech.
    coloma mi

    ZER0 Kernel
    [​IMG]

    By: DM47021

    /* *** Disclaimer
    * 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.
    */

    THIS IS FOR STOCK ROMS ONLY AT THE MOMENT
    CM, AOKP VERSIONS COMMING SOON!

    THIS IS BY NO MEANS COMPLETELY MY WORK,
    Many commits, tweaks used in this kernel came from many various developers.
    I have put many many hours into making this kernel possible (well over 200hrs), it is a labor of love.

    FEATURES:

    Overclocking
    CPU Overclocked to 1.6Ghz
    GPU Overclocked to 578Mhz
    System Bus and Memory Overclocked to 600Mhz
    Slim Bus Overclocked (highest audio quality possible)

    CPU
    CPU underclocked to 192Mhz
    MSM_LIMTER
    (Complete control over your CPU)
    (Per core control over min/max)
    (You can set governors for each core)
    (CPUCPU IS 1590MHz)


    CPU BOOST / INPUT BOOST
    New Cpu boost driver With Hotplug support
    New Cpu Input boost driver


    HOW TO USE CPU INPUT BOOSTING
    I included a script under system/etc/init.d/60Inputboost
    You can use your own parameters aswell

    ENABLES INPUT BOOST
    echo 1 > /sys/kernel/cpu_input_boost/enabled;

    SETS BOOST FREQUENCIES
    echo "1404600 1497600 1593600" > /sys/kernel/cpu_input_boost/boost_freqs;


    CPU GOVERNORS

    -ADAPTIVE
    -BARRY_ALLEN
    -BIOSHOCK
    -BLU_ACTIVE
    -CONSERVATIVE
    -ELEMENTALX
    -HYPER
    -INTERACTIVE
    -ONDEMAND
    -PERFORMANCE

    -POWERSAVE
    -REAPER (WRITTEN BY ME)
    -XPERIENCE
    -ZEROLAG (WRITTEN BY ME)

    CPU HOTPLUG DRIVERS

    -AUTOSMP
    -BRICKED_HOTPLUG
    -INTELLI-PLUG_3.81
    -QUALCOMM MPDECISION

    -ZEN_DECISION

    GPU GOVERNORS
    -MSM-ADRENO-TZ
    -USERSPACE
    -POWERSAVE
    -PERFORMANCE
    -SIMPLE_ONDEMAND
    -MSM_CPUFREQ


    GPU GOVERNOR TUNEABLES
    -ADRENO_IDLER TUNABLES
    -SIMPLE_ONDEMAND TUNABLES


    I/O SCHEDULERS
    -CFQ
    -DEADLINE
    -FIOPS
    -NOOP
    -ROW
    -SIOPLUS
    -TRIPNDROID
    -VR
    -ZEN


    OTHER FEATURES

    -Scheduler teaks
    -Improved Power Efficiancy
    -Built with Linaro 4.9.4 and O3 Optimizations
    -Network Speed Tweaked
    -Wifi Drivers Built from source



    Source Code: https://github.com/Dm47021/android_kernel_afyonlte

    For more information on the various governors, hotplug drivers used in this kernel
    READ HERE: ->
    http://androidmodguide.blogspot.com/p/blog-page.html


    KNOWN BUGS:
    Not really a bug with the kernel itself, but a samsung security app
    If you have to enter your wifi password after every boot
    then you just need to change a line in build.prop

    Set ro.securestorage.support=true
    To ro.securestorage.support=false


    reboot


    CONFIGURE MY KERNEL
    This kernel is meant to be used with the kernel auditor app
    it will allow you full control over every aspect of the kernel

    GET KERNEL AUDITOR HERE:

    https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor&hl=en

    GET THE ZERO KERNEL HERE
    Download: https://www.mediafire.com/?3xgtm3gfiqcfdiu


    Though its not required to donate to use this.
    if you would like to buy me a beer, or burger or just donate to my monkey fund.
    you can donate here:
    https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=crimsonwinterofapocalypse@hotmail.com&lc=US&item_name=Android donations&currency_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted[​IMG]
     

    Advertisement

    #1 Dm47021, Jun 11, 2016
    Last edited: Jun 11, 2016
  2. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    About to test... Gotta restore stock first, though... Thank you so much for this...

    Edit: Looking great so far. Can't wait for a CM release! Really can't stay on stock... Not with a functional (enough for me, at least) CM12 ROM available... But really liking all of the governors and other tweaks available... I'll do some benchmarks soon though, and post some screens...
     
    #2 ciresiuol123, Jun 11, 2016
    Last edited: Jun 11, 2016
    Dm47021 likes this.
  3. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    Stock 3DMark (Performance Governor):
    Score was 2732
    Zero 3DMark (default governor):
    Score was 2715

    Stock outperformed the kernel... Gonna test again with different governors and see what happens...
    For some reason, my CPU maxed at about 1.1Ghz with the Zero Kernel...
     
    #3 ciresiuol123, Jun 12, 2016
    Last edited: Jun 12, 2016
  4. Dm47021

    Dm47021 Android Expert
    Thread Starter
    Rank:
     #78
    Points:
    323
    Posts:
    1,472
    Joined:
    Nov 26, 2011

    Nov 26, 2011
    1,472
    2,115
    323
    Male
    tech.
    coloma mi
    that cant be right
     
  5. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    Same governors, but with Geekbench...
    Stock:
    [​IMG]
    Zero kernel:
    [​IMG]
    Slight improvements here...
     
    #5 ciresiuol123, Jun 12, 2016
    Last edited: Jun 12, 2016
  6. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    It's possible that I may have had some crap running when I tested with your kernel that wasn't running for the stock test... Gonna retest again soon and make sure every unnecessary app is force closed and disabled...

    Btw, I went from just over a 16k score on Antutu up to 17,400 with your kernel, but apparently didn't screenshot...
     
    Dm47021 likes this.
  7. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    Sorry for the dp, but which governor would give me the most performance? I've never seen quite a few of these...
     
  8. Dm47021

    Dm47021 Android Expert
    Thread Starter
    Rank:
     #78
    Points:
    323
    Posts:
    1,472
    Joined:
    Nov 26, 2011

    Nov 26, 2011
    1,472
    2,115
    323
    Male
    tech.
    coloma mi
    on quadrant stock got 7600, Zero got 9700
     
    ciresiuol123 likes this.
  9. Dm47021

    Dm47021 Android Expert
    Thread Starter
    Rank:
     #78
    Points:
    323
    Posts:
    1,472
    Joined:
    Nov 26, 2011

    Nov 26, 2011
    1,472
    2,115
    323
    Male
    tech.
    coloma mi
    my config is generally

    intelliplug for hotplug -> performance profile -> set the thresholds for max performance
    Bioshock for cpu gov
    fiops io sched with 256kb read ahead
     
    ciresiuol123 likes this.
  10. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    Retested on stock with every unnecessary app disabled:
    Score was 2786

    Zero kernel (same apps disabled)... still default governor and other settings... Actually went above 1.2Ghz this time, though... Still outperformed by stock:
    Test with your recommended settings:
    Score was 2724

    Then I disabled "Multi-core Power Saving" and the "Schedule Workloads" options in Kernel Adiuter and ended up with this:
    Score was 2753

    Gonna mess with some more settings and see what happens... I'm removing some of my screenshots, too, so my posts aren't so long...
     
    #10 ciresiuol123, Jun 12, 2016
    Last edited: Jun 12, 2016
  11. nono062015

    nono062015 Newbie
    Rank:
    None
    Points:
    38
    Posts:
    27
    Joined:
    Apr 28, 2015

  12. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    Firstly, I updated my last reply with new screenshots, but more importantly, the Geekbench score has improved greatly:
    [​IMG]
    [​IMG]
    Seems like either 3DMark is flawed or the extra clocks are helping more with math and such rather than 3D processing. If I were to use this (which I will when it's available for CM), I would actually set it up more to save battery than for performance, considering the CPU minimum would help loads in that regard. But thank you again for working so hard on this.
     
  13. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    Broke 1000 on the multi-core test (with a lower max CPU) :

    Score was 337/1001

    *CPU Settings:
    Max CPU - 1401Mhz
    Governor - interactive
    Multi-core Power Saving - On
    Schedule Workloads - On
    *Hotplug Settings:
    Hotplug - Intelliboost
    Profile - Balanced
    *I/O Scheduler Settings:
    Scheduler - fiops
    Read Ahead - 256kb

    All other settings left at default.

    Edit:
    After raising CPU to 1.5Ghz, the single core test result was 340, and multi-core was 1007. While this is an improvement, it's very slight and the battery would drain quite a bit faster. Still wanna see how good it can get... Could I break 1050, I wonder?

    Update:
    Got up to 344/1015

    Update 2:
    Up to 334/1090 with pretty much the same settings, but switched gov to Reaper.
     
    #13 ciresiuol123, Jun 12, 2016
    Last edited: Jun 12, 2016
  14. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    Okay. Last test of the night was with my favorite superhero as the gov, and of course, got the best results yet:
    [​IMG]
    Beating the Moto G now, which was my real goal. Also, battery life doesn't seem horrible with these settings. I'm gonna run it like this for a day or so to test overall stability and gaming performance.
     
    #14 ciresiuol123, Jun 12, 2016
    Last edited: Jun 12, 2016
  15. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
  16. Dm47021

    Dm47021 Android Expert
    Thread Starter
    Rank:
     #78
    Points:
    323
    Posts:
    1,472
    Joined:
    Nov 26, 2011

    Nov 26, 2011
    1,472
    2,115
    323
    Male
    tech.
    coloma mi
    Well, This kernel is not going to work for AOSP. so ill have to take the AOSP kernel, fix it up and make a second version of zero of those roms, working on CM right now
     
    ciresiuol123 likes this.
  17. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    Used for 5 hours so far today (including about 25-30 minutes of playing gta:sa) and the battery life, with my current settings, seems pretty good. At 69% now. Also, I was able to increase the draw distance to max in gta and it runs even better than it used to (draw distance was set barely above half).

    Btw, with my current settings Geekbench scores are 344/994, both well above stock but not the highest I've achieved... Very stable. Did crash once when changing settings, but didn't have it set to restore on boot, so all was well...
     
    Dm47021 likes this.
  18. nono062015

    nono062015 Newbie
    Rank:
    None
    Points:
    38
    Posts:
    27
    Joined:
    Apr 28, 2015

    Thank you for the answer.
    I'll try it on my stock rom KK 4.4.2 and tell you what's happening.
     
  19. Dm47021

    Dm47021 Android Expert
    Thread Starter
    Rank:
     #78
    Points:
    323
    Posts:
    1,472
    Joined:
    Nov 26, 2011

    Nov 26, 2011
    1,472
    2,115
    323
    Male
    tech.
    coloma mi
    might need to send me your boot img so i can repack with your ramdisk
     
  20. nono062015

    nono062015 Newbie
    Rank:
    None
    Points:
    38
    Posts:
    27
    Joined:
    Apr 28, 2015

    Heu...

    I flash the kernel using TWRP?
     
  21. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    Sure do. As long as you're not running a custom ROM, it should work...
     
    nono062015 likes this.
  22. nono062015

    nono062015 Newbie
    Rank:
    None
    Points:
    38
    Posts:
    27
    Joined:
    Apr 28, 2015

    Hi,
    Flashed the kernel on my Samsung Galaxy Core LTE G386W ....
    No problem at all except that I have to enter wifi password after every boot.

    I changed the line in build.prop :
    Set ro.securestorage.support=true
    To ro.securestorage.support=false
    The cell fly like a bullet... just need to play with it to find a good settings and post the results.
     
    Dm47021 and ciresiuol123 like this.
  23. Humanoid924

    Humanoid924 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    5
    Joined:
    Jun 18, 2016

    Jun 18, 2016
    5
    0
    5
    Flashed the kernel and wiped dalvik cache + cache. Every time I turn off my phone screen it turns black and wont turn back on. Navigation keys light up but nothing else until I pull the battery. Any suggestions?? :(
     
  24. nono062015

    nono062015 Newbie
    Rank:
    None
    Points:
    38
    Posts:
    27
    Joined:
    Apr 28, 2015

    I did'nt wiped dalvik and cache perhap's just reflash it....????
     
  25. Humanoid924

    Humanoid924 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    5
    Joined:
    Jun 18, 2016

    Jun 18, 2016
    5
    0
    5
    Thank you for the reply. I tried flashing without wiping dalvik cache and cache first but it gave me the same issue. I read that wiping them could potentially solve the issue so I tried that afterwards and still have the same problem :(:(
     

Share This Page

Loading...