[KERNEL][LINARO]LuPuS Kernel for CM9 [ALL MDPI][2-Jan-2013]

Search This thread

singh_dd93

Inactive Recognized Developer
Oct 3, 2011
1,533
3,536
30
Ludhiana, Punjab
Redmi K20 Pro
OnePlus 8 Pro
LuPuS Kernel
abzNncsi.png


This kernel is based on the LuPuS Kernel for Arc/S by wedgess. All the changes in the kernel are done by him. A big thanks to wedgess. I have made this with his permissions and support. The Ramdisk is modified by me using the Stock from the ftf files.

Disclaimer

Code:
[SIZE=4]
[FONT=monospace] 	
[COLOR=DarkOrchid]#include[/COLOR] [COLOR=Magenta]std.h[/COLOR] 
[COLOR=Blue]/*
* Your warranty is now void.. LOL I guess you knew it already.
*
* I am not responsible for bricked devices, dead SD cards, 
* thermonuclear war, you getting dumped or you getting fired because your phone* 
* bootloops and alarm does not go off. Please do some research if you have any * 
* concerns about features included in my kernel before using it! YOU and only* 
* YOU are choosing to make these modifications. 
*/    
[COLOR=Magenta]#if[/COLOR] 
You have a [COLOR=DarkGreen]question[/COLOR] post it in the [COLOR=DarkRed]thread[/COLOR], 
Instead of [COLOR=DarkGreen]Pm'ing me[/COLOR], as other users may experience your [COLOR=DarkRed]problems[/COLOR] 
[COLOR=Magenta]#endif[/COLOR][/COLOR] 
[/FONT][/SIZE]


Included in kernel



Added Io-schedulers --
  • - Noop
    - Anticipatory
    - Deadline
    - CFQ
    - BFQ
    - SIO

Added Governors --
  • - lagfree
    - brazillianwax
    - smoothass
    - scary
    - savagedzen
    - smartass
    - smartassv2
    - interactivex
    - minmax
    - powersave
    - performance
    - conservative
    - ondemand
    - interactive
    - userspace
    +
    Lulzactive - Thanks to Tegrak
    Based on Interactive and Smartass. When workload is greater than or equal to 60%, the governor scales up
    CPU to next higher step. When workload is less than 60%, governor scales down CPU to next lower step.
    When screen is off, frequency is locked to global scaling minimum frequency

    Virtuous
    Virtuous is a modded smartassV2 which gives even more battery time then smartassV2:)

    Intellidemand - Thanks to faux123
    This is an intelligent ondemand that enters browsing mode to limit max frequency when GPU is idling,
    and (exits browsing mode) behaves like ondemand when GPU is busy; to deliver performance for gaming and such.
    Intellidemand does not jump to highest frequency when screen is off.

    Lazy - Thanks to Ezekeel
    The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand.
    Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state
    on a step overriding sampling interval.
    Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always
    select the maximum frequency while the screen is off.


    -Ondemandx:
    Basically an ondemand with suspend/wake profiles. This governor is supposed to be a battery friendly ondemand. When screen is off, max frequency is capped at 500 mhz. Even though ondemand is the default governor in many kernel and is considered safe/stable, the support for ondemand/ondemandX depends on CPU capability to do fast frequency switching which are very low latency frequency transitions. I have read somewhere that the performance of ondemand/ondemandx were significantly varying for different i/o schedulers. This is not true for most of the other governors. I personally feel ondemand/ondemandx goes best with SIO I/O scheduler.

    -Lionheart:
    Is a conservative-based governor. The tunables (such as the thresholds and sampling rate) were changed so the governor behaves more like the performance one, at the cost of battery as the scaling is very aggressive.

    To 'experience' Lionheart using conservative, try these tweaks:
    sampling_rate:10000 or 20000 or 50000, whichever you feel is safer. (transition latency of the CPU is something below 10ms/10,000uS hence using 10,000 might not be safe).
    up_threshold:60
    down_threshold:30
    freq_step:5
    Lionheart goes well with deadline i/o scheduler. When it comes to smoothness (not considering battery drain), a tuned conservative delivers more as compared to a tuned ondemand.

    BadAss Governor:
    Badass removes all of this "fast peaking" to the max frequency. Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1024Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.

    Superbad -
    A "superbad" super smooth rendition of a highly optimized "smartass" governor!

    Darkside -
    A "slightly more agressive smart" optimized governor!

What else-----
-SLQB - (SLAB allocator with Queue)-(both)
This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate).

- Added Cleancache
- Supports ext 2,3
- Updated zRam
- Lzo compression/decompression speed has doubled on average.
- Init.d support
- Fudgeswap
- And much more :D

Show your support for the kernel by adding this to your signature

xtWNL.png



A big thanks to -
wedgess - for the source and a lot of help
sandy7 - for downloading the cm9 roms and sending me the kernels(mini pro & active)
VitorMSA - for LWW Kernel
awriefwumbo - for Mini Kernel


Downloads and Changelog in post 2

Please Click Thanks, Its Better Then Saying It :good:

Please Thank wedgess in Post #3 :good:


Guys if you wanna donate to me then Please follow this method
login to your paypal account
in sending money enter email id singh.damandeep@gmail.com
enter the amount and transfer.

Accepting donations in India is Prohibited so you have to transfer in above way
 
Last edited:

singh_dd93

Inactive Recognized Developer
Oct 3, 2011
1,533
3,536
30
Ludhiana, Punjab
Redmi K20 Pro
OnePlus 8 Pro
Changelog


Code:
[B]v1[/B]

- All previous boot issues / issues fixed
- Improved Battery Life alot :)
- Thumbee support
- EXT 2/3 & 4 supported
- Init.d supported
- Init.d scripts added (run at boot)
- SLQB Memory allocator
- ARM7 optimizations
- Brought OC back down to 1.6 max (no need for it above 1.6 unless u want to kill your device)
- Kernel sources completely reworked started from scratch o Sony xx.587 sources
- Tiny RCU
- Updatedd patched and fixed LZO
- lowered vfs cache pressure
- Increased Wifi- Range and added support for channel 14
- 0 % Battery patch - Thanks @ Bazoocaze
- Better memory copy
- Better memory move
- Deep sleep issue fixed
- LMK Optimizations (LowMemoryKiller)
- VDD support (voltage conrol)
- Linaro Optimzations
- Compaction added
- KSM
- CIFS (improved support)
- NTFS
- Updated to newest SIO Io-Scheduler
- Google Snappy Compress & Decompress
- Added Vibrate To Recovery (Notification to enter CWM)
- Wifi module size drasticly reduced
** Possibly missing a few things **


DOWNLOADS

http://www.mediafire.com/?ai1h8vmg09kzp

Zram is not enabled by default- to enable it flash the zip
If for whatever reason you want to disable it after you have flashed the .zip, just go to ect/init.d and delete 00zram


Current version has been tested on the Mini Pro and LWW. Others are untested. Plz check and report.
Though I am sure they will work fine.
 
Last edited:

SS-4050

Senior Member
Jun 7, 2012
1,092
470
Bandung
Hell Yeah!! LuPuS All The Way!! Good Work for Singh and Wedgess :thumbup: :good:

Sent from my Xperia Mini using xda premium
 

scorpion 13

Senior Member
Aug 17, 2012
423
153
Tehran
I tried it on cm9,very fast and good act on gaming and performance
Thank you

Sent from my ST15i using Tapatalk 2
 

Vynikal

Senior Member
Sep 29, 2012
1,021
765
I tried it yesterday. Gaming is faster, but in benchmark I had 5100 points. So I have came back to FXP, where I have 5500. But good work! There aren't many kernels for CM9. All are for CM10 :p
 

scorpion 13

Senior Member
Aug 17, 2012
423
153
Tehran
Accelometer not working in temple run but works in other games.
It is kernel bug because that solved by flash Fxp kernel

Sent from my ST15i using Tapatalk 2
 

singh_dd93

Inactive Recognized Developer
Oct 3, 2011
1,533
3,536
30
Ludhiana, Punjab
Redmi K20 Pro
OnePlus 8 Pro
I tried it yesterday. Gaming is faster, but in benchmark I had 5100 points. So I have came back to FXP, where I have 5500. But good work! There aren't many kernels for CM9. All are for CM10 :p

Benchmarks don't matter. What matters is actual performance you experience.

Accelometer not working in temple run but works in other games.
It is kernel bug because that solved by flash Fxp kernel

Sent from my ST15i using Tapatalk 2

Just checked the Temple Run on my both devices and its running perfectly fine with this kernel.
and if the accelerometer is working in other games it couldn't be a kernel bug at all.
 

wedgess

Retired Forum Mod / Inactive Recognized Developer
Apr 23, 2012
3,225
14,098
Dublin, Ireland
www.pac-rom.com
Benchmarks don't matter. What matters is actual performance you experience.

Completely agree, dont see why people go by benchmarks if you run them 4times in a row u get different scores everytime anyway.

Only if people spent more time testing performance instead of running benchmarks :rolleyes:

Sent from my GT-I9300 On Official JB
 

mauam

Senior Member
Jan 26, 2011
7,331
12,910
Completely agree, dont see why people go by benchmarks if you run them 4times in a row u get different scores everytime anyway.

Only if people spent more time testing performance instead of running benchmarks :rolleyes:

Sent from my GT-I9300 On Official JB

True.
 

VitorMSA

Senior Member
May 15, 2012
351
69
Mêda - Guarda
Excelent work!!!! Thanks for making this possible to CM9.1 users like me.

Now I have one trouble. Which governor I should use? :eek:
 
Last edited:

mauam

Senior Member
Jan 26, 2011
7,331
12,910
Excelent work!!!! Thanks for making this possible to CM9.1 users like me.

Now I have one trouble. Whice governor I should use? :eek:

I think it depends what you want. For me smartassv2 & SIO scheduler it's a good combination for battery & performance. Most people use that combination. Try it for a few days and you will see;)
 
  • Like
Reactions: VitorMSA

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    LuPuS Kernel
    abzNncsi.png


    This kernel is based on the LuPuS Kernel for Arc/S by wedgess. All the changes in the kernel are done by him. A big thanks to wedgess. I have made this with his permissions and support. The Ramdisk is modified by me using the Stock from the ftf files.

    Disclaimer

    Code:
    [SIZE=4]
    [FONT=monospace] 	
    [COLOR=DarkOrchid]#include[/COLOR] [COLOR=Magenta]std.h[/COLOR] 
    [COLOR=Blue]/*
    * Your warranty is now void.. LOL I guess you knew it already.
    *
    * I am not responsible for bricked devices, dead SD cards, 
    * thermonuclear war, you getting dumped or you getting fired because your phone* 
    * bootloops and alarm does not go off. Please do some research if you have any * 
    * concerns about features included in my kernel before using it! YOU and only* 
    * YOU are choosing to make these modifications. 
    */    
    [COLOR=Magenta]#if[/COLOR] 
    You have a [COLOR=DarkGreen]question[/COLOR] post it in the [COLOR=DarkRed]thread[/COLOR], 
    Instead of [COLOR=DarkGreen]Pm'ing me[/COLOR], as other users may experience your [COLOR=DarkRed]problems[/COLOR] 
    [COLOR=Magenta]#endif[/COLOR][/COLOR] 
    [/FONT][/SIZE]


    Included in kernel



    Added Io-schedulers --
    • - Noop
      - Anticipatory
      - Deadline
      - CFQ
      - BFQ
      - SIO

    Added Governors --
    • - lagfree
      - brazillianwax
      - smoothass
      - scary
      - savagedzen
      - smartass
      - smartassv2
      - interactivex
      - minmax
      - powersave
      - performance
      - conservative
      - ondemand
      - interactive
      - userspace
      +
      Lulzactive - Thanks to Tegrak
      Based on Interactive and Smartass. When workload is greater than or equal to 60%, the governor scales up
      CPU to next higher step. When workload is less than 60%, governor scales down CPU to next lower step.
      When screen is off, frequency is locked to global scaling minimum frequency

      Virtuous
      Virtuous is a modded smartassV2 which gives even more battery time then smartassV2:)

      Intellidemand - Thanks to faux123
      This is an intelligent ondemand that enters browsing mode to limit max frequency when GPU is idling,
      and (exits browsing mode) behaves like ondemand when GPU is busy; to deliver performance for gaming and such.
      Intellidemand does not jump to highest frequency when screen is off.

      Lazy - Thanks to Ezekeel
      The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand.
      Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state
      on a step overriding sampling interval.
      Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always
      select the maximum frequency while the screen is off.


      -Ondemandx:
      Basically an ondemand with suspend/wake profiles. This governor is supposed to be a battery friendly ondemand. When screen is off, max frequency is capped at 500 mhz. Even though ondemand is the default governor in many kernel and is considered safe/stable, the support for ondemand/ondemandX depends on CPU capability to do fast frequency switching which are very low latency frequency transitions. I have read somewhere that the performance of ondemand/ondemandx were significantly varying for different i/o schedulers. This is not true for most of the other governors. I personally feel ondemand/ondemandx goes best with SIO I/O scheduler.

      -Lionheart:
      Is a conservative-based governor. The tunables (such as the thresholds and sampling rate) were changed so the governor behaves more like the performance one, at the cost of battery as the scaling is very aggressive.

      To 'experience' Lionheart using conservative, try these tweaks:
      sampling_rate:10000 or 20000 or 50000, whichever you feel is safer. (transition latency of the CPU is something below 10ms/10,000uS hence using 10,000 might not be safe).
      up_threshold:60
      down_threshold:30
      freq_step:5
      Lionheart goes well with deadline i/o scheduler. When it comes to smoothness (not considering battery drain), a tuned conservative delivers more as compared to a tuned ondemand.

      BadAss Governor:
      Badass removes all of this "fast peaking" to the max frequency. Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1024Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.

      Superbad -
      A "superbad" super smooth rendition of a highly optimized "smartass" governor!

      Darkside -
      A "slightly more agressive smart" optimized governor!

    What else-----
    -SLQB - (SLAB allocator with Queue)-(both)
    This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate).

    - Added Cleancache
    - Supports ext 2,3
    - Updated zRam
    - Lzo compression/decompression speed has doubled on average.
    - Init.d support
    - Fudgeswap
    - And much more :D

    Show your support for the kernel by adding this to your signature

    xtWNL.png



    A big thanks to -
    wedgess - for the source and a lot of help
    sandy7 - for downloading the cm9 roms and sending me the kernels(mini pro & active)
    VitorMSA - for LWW Kernel
    awriefwumbo - for Mini Kernel


    Downloads and Changelog in post 2

    Please Click Thanks, Its Better Then Saying It :good:

    Please Thank wedgess in Post #3 :good:


    Guys if you wanna donate to me then Please follow this method
    login to your paypal account
    in sending money enter email id singh.damandeep@gmail.com
    enter the amount and transfer.

    Accepting donations in India is Prohibited so you have to transfer in above way
    20
    Changelog


    Code:
    [B]v1[/B]
    
    - All previous boot issues / issues fixed
    - Improved Battery Life alot :)
    - Thumbee support
    - EXT 2/3 & 4 supported
    - Init.d supported
    - Init.d scripts added (run at boot)
    - SLQB Memory allocator
    - ARM7 optimizations
    - Brought OC back down to 1.6 max (no need for it above 1.6 unless u want to kill your device)
    - Kernel sources completely reworked started from scratch o Sony xx.587 sources
    - Tiny RCU
    - Updatedd patched and fixed LZO
    - lowered vfs cache pressure
    - Increased Wifi- Range and added support for channel 14
    - 0 % Battery patch - Thanks @ Bazoocaze
    - Better memory copy
    - Better memory move
    - Deep sleep issue fixed
    - LMK Optimizations (LowMemoryKiller)
    - VDD support (voltage conrol)
    - Linaro Optimzations
    - Compaction added
    - KSM
    - CIFS (improved support)
    - NTFS
    - Updated to newest SIO Io-Scheduler
    - Google Snappy Compress & Decompress
    - Added Vibrate To Recovery (Notification to enter CWM)
    - Wifi module size drasticly reduced
    ** Possibly missing a few things **


    DOWNLOADS

    http://www.mediafire.com/?ai1h8vmg09kzp

    Zram is not enabled by default- to enable it flash the zip
    If for whatever reason you want to disable it after you have flashed the .zip, just go to ect/init.d and delete 00zram


    Current version has been tested on the Mini Pro and LWW. Others are untested. Plz check and report.
    Though I am sure they will work fine.
    19
    Another good one, LuPuS taking over :p:good:
    2
    Benchmarks don't matter. What matters is actual performance you experience.

    Completely agree, dont see why people go by benchmarks if you run them 4times in a row u get different scores everytime anyway.

    Only if people spent more time testing performance instead of running benchmarks :rolleyes:

    Sent from my GT-I9300 On Official JB
    1
    Wowww really fast !! Thanks for your work singh .

    Sent from my Xperia Mini