[KERNEL][LP]ZD Kernel 1.9 || 11 November 2015

Search This thread

corphish

Recognized Dev / Inactive Recognized Contributor
Apr 16, 2014
1,019
2,462
Durgapur
EWUfv4t.jpg


Code:
#include <std_disclaimer.h>
/*
* 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 ROM
* 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.*/

Zapdos Kernel

Features
  • Compiled from latest sources from CyanogenMod Repo.
  • Compiled using Linaro 4.9.3 Toolchain.
  • In-App updates.
  • Disabled Gentle fair sleepers.
  • Disabled CRC check.
  • Reduced swappiness.
  • Added bunch of advanced TCP Congestion Controls.
    • Cubic
    • Reno
    • Westwood (default)
    • HTCP
    • HSTCP
    • Hyabla
    • Vegas
    • Scalable
    • LP
    • Bic
    • Yeah
    • Veno
    • Illionis
  • Optimized SLUB.
  • Asynchronous I/O latency to a solid-state disk greatly increased .
  • NOATIME and NODIRATIME by default.
  • Enabled aggressive multi-core power savings.
  • Added more I/O Schedulers
    • Fifo
    • TripnDroid
    • VR
    • Zen
    • FIOPS
    • BFQ
  • SoundControl v3 by Faux123.
  • Dynamic ReadAhead support.
  • More governors
    • Ondemandplus
    • Intellidemand
    • Intelliactive
    • Lionheart
    • Wheatley
  • Enabled ARCH_POWER.
  • Added Double Tap to Wake.
  • Improved square root algorithm.
  • Sound Recording capabilities extened to 320Kbps.
  • Disabled some debugging.
  • No 'dirty things' in Kernel Info.
  • Powered by Aroma Installer.
  • Kernel Mode selection made available to the users.
  • Optimized AES and SHA1 routines.
  • Added Power Suspend drivers.
  • Added IntelliPlug.
  • Added IntelliThermal.
  • Added Dynamic Fsync, by faux123, ported to work with Power Suspend drivers by varun.chitre15, backported to Linux 3.4 by me.
  • Zapdos Charger Control : A driver to control the amount of current to be used while charging.
  • SELinux set to permissive permanently.

Dedicated kernel control App - ZD Kernel Control

Installation Instruction
  • From PC
    • Download from here and flash it.

    [*]From Mobile
    • Download Gesture Control App from here, and install it.
    • Tap the download icon on the top-right side of the app.
    • If you are on Zapdos, and if update is available, it will show an update and ask you to download.
    • If you are not on Zapdos but on a proper device, you will be asked to download Zapdos.
    • When downloaded, tap the 'FLASH' button, it will automatically boot to recovery and flash it.
    • Enjoy.

Video demonstrating the installation of kernel and DoubleTap2Wake (thanks to @TheDj408)

Credits
  • percy_g2 and scritch007 - For their work on CyanogenMod
  • T3snake - For testing purposes
  • Adarsh1998 - For making great banner
  • TheDj408 - For making video on this kernel

XDA:DevDB Information
Zapdos Kernel, Kernel for the Moto E

Contributors
corphish
Source Code: https://github.com/corphish/zapdos_condor

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: 1.9
Stable Release Date: 2015-05-24

Created 2015-05-24
Last Updated 2015-11-11
 

corphish

Recognized Dev / Inactive Recognized Contributor
Apr 16, 2014
1,019
2,462
Durgapur
Reserved for F.A.Q & Changelog

Changelog

Code:
--v1.8-- (4 September 2015)
-Reduced max and default current in charger control.
-Added and reverted some stuff as an attempt to bring back lagless life.


--v1.7-- (23 August 2015)
-Updated base to latest CM sources.
-Introducing Zapdos Charger Control, a mechanism to control charging current. (Min: 500 mA, Max: 2000mA)
-Implemented sysfs for pocket mode.
-Enabled F2FS.
-Fixed up gaming performance issues.


--v1.6-- (22 July 2015)
-Added Power Suspend drivers.
-Added IntelliPlug.
-Added IntelliThermal.
-Added Dynamic Fsync, by faux123, ported to work with Power Suspend drivers by varun.chitre15, backported to Linux 3.4 by me.


--v1.5-- (1 July 2015)
-Switched to Aroma Installer
-Kernel installation made available in 2 modes : i) With DT2W ii) Without DT2W
-Some fixes in proximity sensor involvement in DT2W.
-Optimized AES and SHA1 routines.


--v1.4-- (26 June 2015)
-Incremental update to initiate in-app updates.



--v1.3--(12 June 2015)
-Fixed doubletap2wake.
-Fixed Accelerometer in kernel level.



--v1.2--(3 June 2015)
-Added Double Tap to Wake.
-Improved square root algorithm.
-Sound Recording capabilities extened to 320Kbps.
-Disabled some debugging.
-No 'dirty things' in Kernel Info.

--v1.1-- (29 May 2015)
1. Added SoundControl v3 by Faux123
2. Dynamic ReadAhead Support
3. Added I/O Scheduler
          i. BFQ
4.Enabled ARCH_POWER
5.Added more governors
          i. Ondemandplus
          ii. Intellidemand
          iii. Intelliactive
          iv. Lionheart
          v. Wheatley

--Initial Build-- (24 May 2015)
1. Disabled Gentle fair sleepers.
2. Disabled CRC check.
3. Reduced swappiness.
4. Added bunch of advanced TCP Congestion Controls.
5. Optimized SLUB.
6. Asynchronous I/O latency to a solid-state disk greatly increased .
7. NOATIME and NODIRATIME by default.
8. Enabled aggressive multi-core power savings.
9. Added various I/O Schedulers.
 
Last edited:

corphish

Recognized Dev / Inactive Recognized Contributor
Apr 16, 2014
1,019
2,462
Durgapur
Kernel Tweaks

I/O Schedulers
Among the I/O Schedulers provided. I prefer TripNDroid.

TCP Congestion Controls
Look at the chart, and decide which one is the best ffor you. Westwood is default.
Code:
Latency - Download - Upload

cubic:
1st run: 15ms - 10,75Mbps - 7,82Mbps
2nd run: 14ms - 10,84Mbps - 8,06Mbps

reno:
1st run: 13ms - 15,51Mbps - 6,73Mbps
2nd run: 13ms - 14,73Mbps - 8,51Mbps

bic:
1st run: 12ms - 10,38Mbps - 8,61Mbps
2nd run: 13ms - 10,78Mbps - 8,62Mbps

westwood:
1st run: 11ms - 17,65Mbps - 8,30Mbps
2nd run: 13ms - 13,28Mbps - 8,29Mbps

highspeed:
1st run: 13ms - 10,76Mbps - 7,94Mbps
2nd run: 16ms - 14,42Mbps - 8,52Mbps

hybla:
1st run: 14ms - 11,19Mbps - 7,44Mbps
2nd run: 14ms - 13,47Mbps - 7,56Mbps

htcp:
1st run: 14ms - 13,24Mbps - 7,03Mbps
2nd run: 15ms - 10,85Mbps - 8,00Mbps

vegas:
1st run: 14ms - 8,49Mbps - 6,62Mbps
2nd run: 14ms - 12,00Mbps - 7,07Mbps

veno:
1st run: 13ms - 9,58Mbps - 8,13Mbps
2nd run: 13ms - 8,50Mbps - 7,64Mbps

scalable:
1st run: 18ms - 12,01Mbps - 8,73Mbps
2nd run: 14ms - 13,96Mbps - 8,23Mbps

lp:
1st run: 14ms - 14,90Mbps - 8,68Mbps
2nd run: 14ms - 13,44Mbps - 8,72Mbps

yeah:
1st run: 14ms - 13,37Mbps - 8,28Mbps
2nd run: 17ms - 13,89Mbps - 8,14Mbps

illinois:
1st run: 13ms - 12,93Mbps - 8,24Mbps
2nd run: 16ms - 13,97Mbps - 6,46Mbps

Aggressive Multi-Core Power Savings
By default, its 2, which means it will only plug in the second core, when really needed. 0 means fair share of work (depending on CPU hotplugging and MPDecision).

Will be updated as more features are added.
 
Last edited:

corphish

Recognized Dev / Inactive Recognized Contributor
Apr 16, 2014
1,019
2,462
Durgapur
Will this work on roms based on AOSP or is it only for CM?:confused:
But anyways great to see some1 working on kernel development for condor! Thnx

This is based on CyanogenMod kernel source, and it unpacks/packs existing boot.img. So there are chances for it to work on AOSP. If you are going to try, do let me know.
 

Razoth

Senior Member
May 31, 2014
140
47
Do you mean Sound Control by faux123?
If no, then sound control in terms of what?

Anyway, will try to add it next update.

yes, soundcontrol by faux123. i actually tried to compile a kernel suited exactly to my needs but couldn't get it to compile lol. great to see some more kernels for this device, thanks for your work.
 
  • Like
Reactions: saintmonte

corphish

Recognized Dev / Inactive Recognized Contributor
Apr 16, 2014
1,019
2,462
Durgapur
yes, soundcontrol by faux123. i actually tried to compile a kernel suited exactly to my needs but couldn't get it to compile lol. great to see some more kernels for this device, thanks for your work.

+1 for SoundControl, awesome kernel! good job.

Okay, will try to add in next update.

Plz f2fs support all partitions, or double tap to unlock

Will be working on doubletap2wake soon.
 

corphish

Recognized Dev / Inactive Recognized Contributor
Apr 16, 2014
1,019
2,462
Durgapur
I think implementation of dt2w/s2w won't be toughest off all devices I saw dt2w being implemented.
It will come in next update for sure, but the update will take time to come.
Reason : Unless I complete the 'thing' which you can see in attached SS ;).
 

Attachments

  • screenshot1.png
    screenshot1.png
    55.1 KB · Views: 839
  • screenshot2.png
    screenshot2.png
    44.4 KB · Views: 832
  • screenshot3.png
    screenshot3.png
    22.5 KB · Views: 801
  • screenshot4.png
    screenshot4.png
    26.7 KB · Views: 764

Top Liked Posts

  • There are no posts matching your filters.
  • 57
    EWUfv4t.jpg


    Code:
    #include <std_disclaimer.h>
    /*
    * 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 ROM
    * 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.*/

    Zapdos Kernel

    Features
    • Compiled from latest sources from CyanogenMod Repo.
    • Compiled using Linaro 4.9.3 Toolchain.
    • In-App updates.
    • Disabled Gentle fair sleepers.
    • Disabled CRC check.
    • Reduced swappiness.
    • Added bunch of advanced TCP Congestion Controls.
      • Cubic
      • Reno
      • Westwood (default)
      • HTCP
      • HSTCP
      • Hyabla
      • Vegas
      • Scalable
      • LP
      • Bic
      • Yeah
      • Veno
      • Illionis
    • Optimized SLUB.
    • Asynchronous I/O latency to a solid-state disk greatly increased .
    • NOATIME and NODIRATIME by default.
    • Enabled aggressive multi-core power savings.
    • Added more I/O Schedulers
      • Fifo
      • TripnDroid
      • VR
      • Zen
      • FIOPS
      • BFQ
    • SoundControl v3 by Faux123.
    • Dynamic ReadAhead support.
    • More governors
      • Ondemandplus
      • Intellidemand
      • Intelliactive
      • Lionheart
      • Wheatley
    • Enabled ARCH_POWER.
    • Added Double Tap to Wake.
    • Improved square root algorithm.
    • Sound Recording capabilities extened to 320Kbps.
    • Disabled some debugging.
    • No 'dirty things' in Kernel Info.
    • Powered by Aroma Installer.
    • Kernel Mode selection made available to the users.
    • Optimized AES and SHA1 routines.
    • Added Power Suspend drivers.
    • Added IntelliPlug.
    • Added IntelliThermal.
    • Added Dynamic Fsync, by faux123, ported to work with Power Suspend drivers by varun.chitre15, backported to Linux 3.4 by me.
    • Zapdos Charger Control : A driver to control the amount of current to be used while charging.
    • SELinux set to permissive permanently.

    Dedicated kernel control App - ZD Kernel Control

    Installation Instruction
    • From PC
      • Download from here and flash it.

      [*]From Mobile
      • Download Gesture Control App from here, and install it.
      • Tap the download icon on the top-right side of the app.
      • If you are on Zapdos, and if update is available, it will show an update and ask you to download.
      • If you are not on Zapdos but on a proper device, you will be asked to download Zapdos.
      • When downloaded, tap the 'FLASH' button, it will automatically boot to recovery and flash it.
      • Enjoy.

    Video demonstrating the installation of kernel and DoubleTap2Wake (thanks to @TheDj408)

    Credits
    • percy_g2 and scritch007 - For their work on CyanogenMod
    • T3snake - For testing purposes
    • Adarsh1998 - For making great banner
    • TheDj408 - For making video on this kernel

    XDA:DevDB Information
    Zapdos Kernel, Kernel for the Moto E

    Contributors
    corphish
    Source Code: https://github.com/corphish/zapdos_condor

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: 1.9
    Stable Release Date: 2015-05-24

    Created 2015-05-24
    Last Updated 2015-11-11
    15
    App is almost ready, going under some tests. You can start countdown for dt2w/s2w getting implemented in kernel.

    BTW, if there is anyone with nice graphics designing skills, may volunteer themselves, to design icon for the app. As a credit, you will mentioned under info section in my app.
    14
    Update 1.2

    Changelog
    - Added Double Tap to Wake.
    - Improved square root algorithm.
    - Sound Recording capabilities extened to 320Kbps.
    - Disabled some debugging.
    - No 'dirty things' in Kernel Info.


    Link Updated in OP

    About S2W and Music Mode - They are coming, S2W will come following an update to my app. And music mode was having some problems which are needed to be fixed. But since I won't avail my PC for few days, this update was wrapped up quickly and posted.

    Recommend you to have a backup kernel, just in case.

    Do let me know how doubletap2wake works.

    And as always, use my app to control DT2W. Find it here - Gesture Control 1.0

    Also, let me know how the app is.
    13
    Reserved for F.A.Q & Changelog

    Changelog

    Code:
    --v1.8-- (4 September 2015)
    -Reduced max and default current in charger control.
    -Added and reverted some stuff as an attempt to bring back lagless life.
    
    
    --v1.7-- (23 August 2015)
    -Updated base to latest CM sources.
    -Introducing Zapdos Charger Control, a mechanism to control charging current. (Min: 500 mA, Max: 2000mA)
    -Implemented sysfs for pocket mode.
    -Enabled F2FS.
    -Fixed up gaming performance issues.
    
    
    --v1.6-- (22 July 2015)
    -Added Power Suspend drivers.
    -Added IntelliPlug.
    -Added IntelliThermal.
    -Added Dynamic Fsync, by faux123, ported to work with Power Suspend drivers by varun.chitre15, backported to Linux 3.4 by me.
    
    
    --v1.5-- (1 July 2015)
    -Switched to Aroma Installer
    -Kernel installation made available in 2 modes : i) With DT2W ii) Without DT2W
    -Some fixes in proximity sensor involvement in DT2W.
    -Optimized AES and SHA1 routines.
    
    
    --v1.4-- (26 June 2015)
    -Incremental update to initiate in-app updates.
    
    
    
    --v1.3--(12 June 2015)
    -Fixed doubletap2wake.
    -Fixed Accelerometer in kernel level.
    
    
    
    --v1.2--(3 June 2015)
    -Added Double Tap to Wake.
    -Improved square root algorithm.
    -Sound Recording capabilities extened to 320Kbps.
    -Disabled some debugging.
    -No 'dirty things' in Kernel Info.
    
    --v1.1-- (29 May 2015)
    1. Added SoundControl v3 by Faux123
    2. Dynamic ReadAhead Support
    3. Added I/O Scheduler
              i. BFQ
    4.Enabled ARCH_POWER
    5.Added more governors
              i. Ondemandplus
              ii. Intellidemand
              iii. Intelliactive
              iv. Lionheart
              v. Wheatley
    
    --Initial Build-- (24 May 2015)
    1. Disabled Gentle fair sleepers.
    2. Disabled CRC check.
    3. Reduced swappiness.
    4. Added bunch of advanced TCP Congestion Controls.
    5. Optimized SLUB.
    6. Asynchronous I/O latency to a solid-state disk greatly increased .
    7. NOATIME and NODIRATIME by default.
    8. Enabled aggressive multi-core power savings.
    9. Added various I/O Schedulers.
    11
    I think implementation of dt2w/s2w won't be toughest off all devices I saw dt2w being implemented.
    It will come in next update for sure, but the update will take time to come.
    Reason : Unless I complete the 'thing' which you can see in attached SS ;).