[KERNEL][PLAY] LuPuS_JBv13 [JB 4.1 &4.2][LINARO 4.7.3][v8Multiboot][06-06-13]

Search This thread

wedgess

Retired Forum Mod / Inactive Recognized Developer
Apr 23, 2012
3,225
14,098
Dublin, Ireland
www.pac-rom.com
LuPuS JellyBean v13 Kernel
abzNncsi.png



LuPuS-CM9-Kernel HERE
LuPuS-STOCK-GB Kernel HERE
LuPuS-iCs-BeTa Kernel HERE


Just after downloading AOKP jellybean last night and wanted to use my kernel so thought I would
make another LuPuS and release it, obviously certain things are still meehhhhh like the CWM glitching
and the camera which are things in all Xplay JB kernels/ROMS. So I reduced it down a bit from FXP and
given an extra 18mb of Ram so its not 368mb Ram, don't wanna go any lower. Once camera is fixed i'll make a 720p
version as well. Everything else thats added is the same with my most recent CM9 update.
This kernel was just built so its up-to-date with all of FXP's sources :)


Disclaimer

Code:
[COLOR="DarkOrchid"]#include[/COLOR] [COLOR="Magenta"]<std_disclaimer.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"]#ifdef[/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 you [COLOR="DarkRed"]problems[/COLOR]
[COLOR="Magenta"]#endif[/COLOR][/COLOR]


What Works --
  • Wifi - (flash modules)
    Bluetooth
    Everything Else that works on FXP and any other JB kernel

What doesn't work --
  • ALS (Disabled)
    Anything that doesn't work on FXP and any other JB kernel

Included in kernel


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

Added Governors --
  • - lagfree
    - brazillianwax
    - smoothass
    - scary
    - savagedzen
    - smartass
    - smartassv2
    - interactivex
    - minmax
    - + the 5or6 that are there with FXP

    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
    - Updated zRam
    - Lzo compression/decompression speed doubled on average


--When phone vibrates tap the vol-down key to enter Multiboot menu


I would like to say a big thanks to -
  • paxChristos - Tutorial / Help
    FXP - Sources
    Cyanogenmod - Souces
    DooMLoRD - Everything he's done for XPLay
    CosmicDan - Multiboot
    Supervenom - For the amazing AOKP rom:)
    Solomon4400 - For helping me test:)
    tempest918 - For the New Logo
    xeozus
    NobodyAtAll
    Faux123
    Erasmus
    Leedroid
    Jerpelea
    Phil3759
    CTCaer
    Anyone missing please PM me


Kernel sources -b jellybean
https://github.com/garwedgess/semc-kernel-msm7x30

CWM source -- https://github.com/garwedgess/android_bootable_recovery -b lupus-cwm
 
Last edited:

wedgess

Retired Forum Mod / Inactive Recognized Developer
Apr 23, 2012
3,225
14,098
Dublin, Ireland
www.pac-rom.com
LuPuS-Jellybean-DOWNLOADS

Code:
[B][U]-v2 changes[/U][/B]

- Added Governor Intellidemand thanks to faux123 and CosmicDan for modifying it
- Variuos improvements to make for smoother android
- built with linaro v 4.6
- Changed recovery entering will now flash green, pink and blue (PACman colours :)  )
- cleancache , zram, and new lzo compression have been reverted for now
- Changed sources to newest CM so that there is no random freezes ect

[U][B]
- v3 changes[/B][/U]

- Reverted back to zImage
- Added cpu-freq table now upto 2ghz
- Increased VM-max read ahead
- Works now on PAC-man v2
[B][U]
- V4 changelog[/U][/B]

- Updated to latest FXP sources
- Updated GENLOCK (FXP)
- Added cleancache
- Re - Enabled CIFS


[U][B]v5 changes[/B][/U]
- Fixed battery dran
- Updated SIO IO-schedule
- Reverted 2ghz to 1.6ghz
- Updated LZO compression / Decompression
- Further optimzed

[B][U]v6 changes
[/U][/B]
- Multiboot Kernel ~ Thanks [user=320362]@comic[/user]Dan
- Recovery Fixed no more "DANCING" Thanks [user=3365554]@Skrit[/user]chz
- Added Tiny RCU 
- Added Custom partition sizes ~ Thanks [user=1844875]@CosmicDan[/user]
- Patched LZO
- Updated to Linaro 4.7 toolchain
- Changed to Google snappy compression/decompression
- Much more optimizations
- Wifi Modules included ~ Thanks [user=1844875]@CosmicDan[/user]


[B][U]v7 changes[/U][/B]

- TWRP recovery (fully touch)
- Enabled USB tether
- Disabled gentle_fair_sleepers
- Updated video drivers
- Added memcopy
- Added compaction
- Backported binder changes
- Lowered vfs_cache_pressure
- LMK (lowmemorykiller) optimizations
- All latest multiboot changes from [B [user=1844875]@CosmicDan[/user] huge thanks[/B] 
- Moved 30MB from userdata to system. [B]NANDROID BACKUP BEFORE UPGRADING YOUR KERNEL.[/B] -Thanks [user=1844875]@CosmicDan[/user]

[B][U]v8[/U][/B]
- Latest MultiBoot Changes ---- Huge Thanks [user=1844875]@CosmicDan[/user]
- Built with Linaro 4.7.3 (02-01-2013)
- Fix Entropy Depleting (no more depleting) - Thanks @ Kees Cook
- Fix PageHead
- Fix binder. use of uninitialized variable.
- Fix kernel/net Memory Leaks
- Eliminate kstrdup memory leak
- Makefile optimisations (snapdragon & neon) - Thanks at Paul678 
- Tweaked permormance on interactive governor - Thanks at Paul678 
- Tweaked SIO io sched - Thanks at Paul678 
- Free'd some RAM from loggers
- Reduce swappiness
- ipv4: force_igmp_version ignored when a IGMPv3 query received 
- enable ipsec tunnel support in kernel (Latest FXP Change)
- ARM7 optimsations + more in config


[B]v9[/B] [B][COLOR="Red"] IN POST 3[/COLOR][/B]
[B][COLOR="Red"]Note if coming from a multiboot kernel you must wipe ALL partitions[/COLOR][/B]
- No multiboot
- No need to flash phoenix vendor - partitions are stock for now
- Supports both 4.1 & 4.2 JB
- New IIO Scheduler ZEN thanks @bbedward
- New Governor smartassH3 thanks [user=3057569]@Hero[/user]
- Tweaked Deadline IO scheduler
- Tweaked smartassv2
- Frandom
- Wifi improvement
- SFB Net scheduler
- OC up to 1804.8MHz
- Logger backported from CAF
[COLOR="Magenta"]- ALS is enabled by default - You can disable it from LuPuS Menu[/COLOR]
- Free RAM from logger
- LMK updated and optimized + various LMK tweaks
- Various ARM & RAM changes
- TinyRCU optimizations
- Optimized crc32 lib
- various VM changes
- Improved cleancache
- Undervolt LCD display, touch sensor proximity sensor & Wi-Fi thanks @ M66B
- Entropy tweaks
- Try fix for CRT animation [user=4266283]@paul678[/user]
- TWRP & CWM
- LuPuS Menu
- Auto Loading wifi
- All modules and init.d's included No need to flash anything after kernel
Plus alot more changes see [URL="https://github.com/garwedgess/semc-kernel-msm7x30/commits/jellybean"] for full list of credits and patches used[/URL]

[B]v10[/B]
- Latest changes to ALS -- Thanks @ FXP
- Lowered OC to 1612.8Mhz
- Remove ALS  option from LuPuS Menu (no longer needed)
- Random reboots should be fixed ( for those who where having such issues )


[B]v11[/B]
- UN-RELEASED

[B]v12[/B]
- Fixed reboot to recovery
---- Custom CWM
- Clean-up of menu
- Added own wipe options menu -- with extra options
- Aroma File Manager from CWM --- Must have aroma ([COLOR=Red]aromafm.zip) placed on root of sdcard[/COLOR]) 
- Multi zip installer
- Reboot options - Power off re-added under this menu
- Pointless but people keep asking me for it so re-added wipe battery stats also.
- LuPuS themed...
- Fixed "dancing android


Multiboot[/SIZE][/U][/B]



For help and support on Multiboot, please check fma965's thread - "Noob friendly guide to Multibooting Jellybean"


Requirements:
  • Unlocked Vendor partition (see "Download/Installation" below)
  • System size below 310MB
  • ICS Only - AOSP-based ROM (not stock-based)



Features:

Huge thanks @CosmicDan



ICS and JB Support
One kernel, two worlds... you can install any AOSP-based ICS ROM (e.g. CM9, AOKP, etc) in any Slot (as long as it's multiboot aware, see below) and it will work automatically.


Team Win Recovery Project
CWM-Recovery has been replaced with the powerful TWRP. Full touch interface, file browser, backup names with keyboard, batch ZIP install, and more.


Multiboot RAMDisk
Pressing Vol-Down will now show a GUI for selecting which slot you want to boot or enter recovery on. Slot 2 and 3 are stored in ext2 images on your SDCard, and the process is fully automated and well-detailed to guide you through it. Please note that you can only install a ZIP in Recovery for Slot 2 and 3 if it is marked "Multiboot-aware" (see Compatibility section below).


Repair Tools
The Tools > Repair menu allows you to check your sdcard and sd-ext for errors and repair them. Also fix permissions and scan/repair Slot 2 and 3. This solves a lot of common problems with data and app2sd issues.


609MB data partition space
Cache is reduced to 8MB and system reduced to 280MB, giving a total size of 639MB for data. The ROM must be smaller than 280MB for this to work obviously (see "tested" section below). The cache is only 8MB so the kernel automatically links /cache/dalvik-cache to /data/dalvik-cache (simulates MIUI behavior).


Wifi Module auto-install
If the wifi module on the system doesn't exist or is different to the one in the ramdisk, it will be installed/replaced automatically. As an additional fail-safe, the kernel has magic checking (module version) removed - so any module will install on this kernel (but that does not mean it will work!)


Compatibility

The kernel has been tested and working on the following ROM's -


  • Turbo UI Preview (CosmicDan's source build) (Multiboot-aware)
  • Project Jellyzeus AOSP (CosmicDan's source build) (Multiboot-aware)
  • SlimBean for Xperia Play GSM/CDMA (cj360's source build) (Multiboot-aware)
  • P.A.C Man-PA (wedgess' source build) (Multiboot-aware)
  • Paranoid Android (wedgess' source build) (Multiboot-aware)
  • CM10 (Not multiboot-aware)
  • CM9 (Not multiboot-aware)
Please report if it works or not for other Jellybean/ICS-AOSP ROM's.


Bugs/Important Caveats


  • If your ROM has a "Reboot to Recovery" option, using it will load a broken Recovery where no mounts work. I can't fix this, so simply don't use it (just use Vol-Down on normal reboot).
  • Using Fastboot may trigger a "boot menu loop" - simply enter CWM-Recovery for any slot and then select reboot to solve it.



Important info regarding safe Multiboot
  • Do NOT install a ROM ZIP in Slot 2 or 3 until it is marked "multiboot-aware". Otherwise the ROM will format/install to your internal, no matter *what* you do. For details on how to make a ROM multiboot-aware, see this post.
  • To get around a ROM not being multiboot aware (if you want to install it in Slot 2 or 3), simply install in Internal (Slot 1) as normal, then set up the second or third slot with "Copy from Internal" instead of "Blank". Then of course you can reformat and reinstall on Internal.
  • Make sure your SDCard is free of errors. If you encounter *any* issues with a ROM, do a full Repair in the Tools menu before reporting any issues.
  • *Never* unmount SDCard in Recovery for Slot 2 and 3. But Mounting USB Storage is 100% fine.


Downloads



If you like my work please consider buying me a beer or something else ;)
by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.


#####################################################################################################################

LuPuSv8-720p-jB-Kernel.img
Md5 = 0x39750d29497af539a3810b4b877fd5e0
LuPuSv8-480p-jB-Kernel.img
Md5 = 0x965333fb455d7f077dfa1f7428058d6a

If wifi doesnt work flashable zip is attached at the bottom of the post
#####################################################################################################################[/LIST]



First-time users - Enter Multiboot Menu (Vol-Down key) and go to Internal > Recovery, then format system, data and cache before doing anything else. Very important.


If you cannot enter the Boot Menu or Recovery after flashing, you need to flash the FTF first.


If you are running LuPuS-jB-v6 or older, the partition map has changed (30MB moved from data to system). You MUST Nandroid Backup before flashing the v7 update, then Nandroid restore after flashing. Otherwise you WILL lose your data.


If your MD5# doesn't match re-download
 

Attachments

  • wedgess_Zram-Enabler_05-02-13.zip
    120.9 KB · Views: 3,232
Last edited:

wedgess

Retired Forum Mod / Inactive Recognized Developer
Apr 23, 2012
3,225
14,098
Dublin, Ireland
www.pac-rom.com
LuPuS v13


Changelog
Code:
[B]v13[/B]
- Added option to enable Quick Key Reset (enable / disable via LuPuS Menu)
- Tuned Governors 
  * superbad
  * lionheart
  * virtuous
  * darkside
  * conservative
  * smartassH3
- Really use google snappy zRam (improves zRam)
- Added zCache
- Removed persistent RAM
- Removed some more kernel debugging
- uninterruptible sleep
- Update SIO & CFQ
- Added Ultra-KSM
- Removed optimized AES & SHA1 routines
- Updated TWRP to 2.4.4
   *Fixed Mount USB Storage in TWRP
- Updated CWM to latest Official CWM source
   *Removed reboot options
   *Re-added power off and reboot system now to main menu
- Improved wifi-loading scripts
- Clean up of lupus menu
- Fixed root issue on some devices
- Reworked kernel logs (can  be found in /data/local/tmp)
- Boot.d - If phone is taking a long time to start move suspicious init.d scripts to /system/etc/boot.d
  They will be run in background and won't affect boot time.




LuPuS MENU



You can run lupus menu from terminal or scriptmanager or similar, you must run as root or script will exit with a message

in terminal

Code:
su
sh lupus


* information is in lupus menu

1/ CIFS Menu *
  • Enable
    Disable

2/ zRam Menu *
  • Enable
    Disable
    Set zRam size ( default is 60)

3/ Frandom Menu *
  • Enable
    Disable

4/ Clean and Remove tweaks
  • Remove init.d's

5/ Tweak Menu
Note all tweaks are preset from here and option to set as init.d's
  • Clean all temp files
    SQLITE optimizations
    LMK Optimizations
    Network optimizations
    Defend against ARP spoofing
    Remove android logger
    SDcard speed tweak
    Flag blocks as non-rotational

6/ Choose Recovery
  • TWRP
    CWM

7/ Performance Menu
Note all options are se by user input from here and option to set as init.d's
  • Set CPU frequencies
    Set Governor
    Set IO-Scheduler
    Voltage Control
    VM tweaks (explained below)

VM Tweaks


dirty ratio and dirty background ratio 1 & 2
This controls how often the kernel writes data to "disk" (in our case the internal microSD system card, not the removable microSD card). When your apps write data to disk, Linux actually doesn't write the data out to the disk right away, it actually writes the stuff to system memory and the kernel handles when and how the data is actually going to be flushed to the disk. These values represent a percentage, the higher the percentage, the longer it waits to flush, the lower the percentage, the more often flushes will occur. Now remember, we are dealing with solid state storage, not the traditional disk platter and spindle. So we are actually able to delay flushes a little longer with solid state versus a traditional hard drive disk.


dirty_expire_centisecs
How old "dirty" data should be before the kernel considers it old enough to be written to disk. It is expressed in 100ths of a second.

dirty_writeback_centisecs

This is the interval of when the writeback daemons periodically wake up and write "old" data out to disk. It is expressed in 100ths of a second.

min free kbytes
This is used to force the Linux VM to keep a minimum number of kilobytes free. The VM uses this number to compute a pages_min value for each lowmem zone in the system. Each lowmem zone gets a number of reserved free pages based proportionally on its size. Default is 2048kb.

overcommit_memory
This controls overcommit of system memory, possibly allowing processes to allocate (but not use) more memory than is actually available.

0 - Heuristic overcommit handling. Obvious overcommits of address space are refused. Used for a typical system. It ensures a seriously wild allocation fails while allowing overcommit to reduce swap usage. root is allowed to allocate slighly more memory in this mode. This is the default.
1 - Always overcommit. Appropriate for some scientific applications.
2 - Don't overcommit. The total address space commit for the system is not permitted to exceed swap plus a configurable percentage (default is 50) of physical RAM. Depending on the percentage you use, in most situations this means a process will not be killed while attempting to use already-allocated memory but will receive errors on memory allocation as appropriate.

Swappiness
A property for the Linux kernel that changes the balance between swapping out runtime memory, as opposed to dropping pages from the system page cache. Swappiness can be set to values between 0 and 100 inclusive. A low value means the kernel will try to avoid swapping as much as possible where a higher value instead will make the kernel aggressively try to use swap space.

VFS Cache Pressure
File system cache (dentry/inode) is really more important than the block cache above in dirty ratio and dirty background ratio, so we really want the kernel to use up much more of the RAM for file system cache, this will increas the performance of the system without sacrificing performance at the application level. The default value is 100, as a percentage, and what you want to do is lower the value to tell the kernel to favor the file system cache and not drop them aggressively.


If you like my work please consider buying me a beer or something else ;)
by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.




Downloads



If you like my work please consider buying me a beer or something else ;)
by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.


#####################################################################################################################


480p
LuPuS_zeus_jBv13-ram.img
md5 = d3588985ea241c4e44cf27be30b74b0f


720p
LuPuS_zeus_jBv13-full.img
md5 = 9d5d17ca438ae745a793a6841b320f48
 

Attachments

  • lupus-jb-cifs-fuse-ntfs.zip
    374.4 KB · Views: 2,906
Last edited:

yekasangredevago

Senior Member
Aug 10, 2012
534
210
Venado Tuerto
when you leave a rom jelly bean with touchpad and camera working support me step by JB definitely .. meanwhile I stay with my dear GB :)
JB Lupus kernel (Linaro) + rom JB (Linaro) that combination would be good ..
You're Wedgess. :)
 
  • Like
Reactions: Naro365

wedgess

Retired Forum Mod / Inactive Recognized Developer
Apr 23, 2012
3,225
14,098
Dublin, Ireland
www.pac-rom.com
So, can't you use files from CM10 anzu roms??? :confused:

This was a week ago, I got wifi going I will be releasing for ur devices maybe tomorrow please keep this on its thread. But no I can't unless I was just to add governors and then it would work with CM10 only not AOKP or other CM10 roms a hich will probably come soon

Sent from my GT-I9300
 
  • Like
Reactions: caqo71

Top Liked Posts

  • There are no posts matching your filters.
  • 163
    LuPuS JellyBean v13 Kernel
    abzNncsi.png



    LuPuS-CM9-Kernel HERE
    LuPuS-STOCK-GB Kernel HERE
    LuPuS-iCs-BeTa Kernel HERE


    Just after downloading AOKP jellybean last night and wanted to use my kernel so thought I would
    make another LuPuS and release it, obviously certain things are still meehhhhh like the CWM glitching
    and the camera which are things in all Xplay JB kernels/ROMS. So I reduced it down a bit from FXP and
    given an extra 18mb of Ram so its not 368mb Ram, don't wanna go any lower. Once camera is fixed i'll make a 720p
    version as well. Everything else thats added is the same with my most recent CM9 update.
    This kernel was just built so its up-to-date with all of FXP's sources :)


    Disclaimer

    Code:
    [COLOR="DarkOrchid"]#include[/COLOR] [COLOR="Magenta"]<std_disclaimer.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"]#ifdef[/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 you [COLOR="DarkRed"]problems[/COLOR]
    [COLOR="Magenta"]#endif[/COLOR][/COLOR]


    What Works --
    • Wifi - (flash modules)
      Bluetooth
      Everything Else that works on FXP and any other JB kernel

    What doesn't work --
    • ALS (Disabled)
      Anything that doesn't work on FXP and any other JB kernel

    Included in kernel


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

    Added Governors --
    • - lagfree
      - brazillianwax
      - smoothass
      - scary
      - savagedzen
      - smartass
      - smartassv2
      - interactivex
      - minmax
      - + the 5or6 that are there with FXP

      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
      - Updated zRam
      - Lzo compression/decompression speed doubled on average


    --When phone vibrates tap the vol-down key to enter Multiboot menu


    I would like to say a big thanks to -
    • paxChristos - Tutorial / Help
      FXP - Sources
      Cyanogenmod - Souces
      DooMLoRD - Everything he's done for XPLay
      CosmicDan - Multiboot
      Supervenom - For the amazing AOKP rom:)
      Solomon4400 - For helping me test:)
      tempest918 - For the New Logo
      xeozus
      NobodyAtAll
      Faux123
      Erasmus
      Leedroid
      Jerpelea
      Phil3759
      CTCaer
      Anyone missing please PM me


    Kernel sources -b jellybean
    https://github.com/garwedgess/semc-kernel-msm7x30

    CWM source -- https://github.com/garwedgess/android_bootable_recovery -b lupus-cwm
    72
    LuPuS-Jellybean-DOWNLOADS

    Code:
    [B][U]-v2 changes[/U][/B]
    
    - Added Governor Intellidemand thanks to faux123 and CosmicDan for modifying it
    - Variuos improvements to make for smoother android
    - built with linaro v 4.6
    - Changed recovery entering will now flash green, pink and blue (PACman colours :)  )
    - cleancache , zram, and new lzo compression have been reverted for now
    - Changed sources to newest CM so that there is no random freezes ect
    
    [U][B]
    - v3 changes[/B][/U]
    
    - Reverted back to zImage
    - Added cpu-freq table now upto 2ghz
    - Increased VM-max read ahead
    - Works now on PAC-man v2
    [B][U]
    - V4 changelog[/U][/B]
    
    - Updated to latest FXP sources
    - Updated GENLOCK (FXP)
    - Added cleancache
    - Re - Enabled CIFS
    
    
    [U][B]v5 changes[/B][/U]
    - Fixed battery dran
    - Updated SIO IO-schedule
    - Reverted 2ghz to 1.6ghz
    - Updated LZO compression / Decompression
    - Further optimzed
    
    [B][U]v6 changes
    [/U][/B]
    - Multiboot Kernel ~ Thanks [user=320362]@comic[/user]Dan
    - Recovery Fixed no more "DANCING" Thanks [user=3365554]@Skrit[/user]chz
    - Added Tiny RCU 
    - Added Custom partition sizes ~ Thanks [user=1844875]@CosmicDan[/user]
    - Patched LZO
    - Updated to Linaro 4.7 toolchain
    - Changed to Google snappy compression/decompression
    - Much more optimizations
    - Wifi Modules included ~ Thanks [user=1844875]@CosmicDan[/user]
    
    
    [B][U]v7 changes[/U][/B]
    
    - TWRP recovery (fully touch)
    - Enabled USB tether
    - Disabled gentle_fair_sleepers
    - Updated video drivers
    - Added memcopy
    - Added compaction
    - Backported binder changes
    - Lowered vfs_cache_pressure
    - LMK (lowmemorykiller) optimizations
    - All latest multiboot changes from [B [user=1844875]@CosmicDan[/user] huge thanks[/B] 
    - Moved 30MB from userdata to system. [B]NANDROID BACKUP BEFORE UPGRADING YOUR KERNEL.[/B] -Thanks [user=1844875]@CosmicDan[/user]
    
    [B][U]v8[/U][/B]
    - Latest MultiBoot Changes ---- Huge Thanks [user=1844875]@CosmicDan[/user]
    - Built with Linaro 4.7.3 (02-01-2013)
    - Fix Entropy Depleting (no more depleting) - Thanks @ Kees Cook
    - Fix PageHead
    - Fix binder. use of uninitialized variable.
    - Fix kernel/net Memory Leaks
    - Eliminate kstrdup memory leak
    - Makefile optimisations (snapdragon & neon) - Thanks at Paul678 
    - Tweaked permormance on interactive governor - Thanks at Paul678 
    - Tweaked SIO io sched - Thanks at Paul678 
    - Free'd some RAM from loggers
    - Reduce swappiness
    - ipv4: force_igmp_version ignored when a IGMPv3 query received 
    - enable ipsec tunnel support in kernel (Latest FXP Change)
    - ARM7 optimsations + more in config
    
    
    [B]v9[/B] [B][COLOR="Red"] IN POST 3[/COLOR][/B]
    [B][COLOR="Red"]Note if coming from a multiboot kernel you must wipe ALL partitions[/COLOR][/B]
    - No multiboot
    - No need to flash phoenix vendor - partitions are stock for now
    - Supports both 4.1 & 4.2 JB
    - New IIO Scheduler ZEN thanks @bbedward
    - New Governor smartassH3 thanks [user=3057569]@Hero[/user]
    - Tweaked Deadline IO scheduler
    - Tweaked smartassv2
    - Frandom
    - Wifi improvement
    - SFB Net scheduler
    - OC up to 1804.8MHz
    - Logger backported from CAF
    [COLOR="Magenta"]- ALS is enabled by default - You can disable it from LuPuS Menu[/COLOR]
    - Free RAM from logger
    - LMK updated and optimized + various LMK tweaks
    - Various ARM & RAM changes
    - TinyRCU optimizations
    - Optimized crc32 lib
    - various VM changes
    - Improved cleancache
    - Undervolt LCD display, touch sensor proximity sensor & Wi-Fi thanks @ M66B
    - Entropy tweaks
    - Try fix for CRT animation [user=4266283]@paul678[/user]
    - TWRP & CWM
    - LuPuS Menu
    - Auto Loading wifi
    - All modules and init.d's included No need to flash anything after kernel
    Plus alot more changes see [URL="https://github.com/garwedgess/semc-kernel-msm7x30/commits/jellybean"] for full list of credits and patches used[/URL]
    
    [B]v10[/B]
    - Latest changes to ALS -- Thanks @ FXP
    - Lowered OC to 1612.8Mhz
    - Remove ALS  option from LuPuS Menu (no longer needed)
    - Random reboots should be fixed ( for those who where having such issues )
    
    
    [B]v11[/B]
    - UN-RELEASED
    
    [B]v12[/B]
    - Fixed reboot to recovery
    ---- Custom CWM
    - Clean-up of menu
    - Added own wipe options menu -- with extra options
    - Aroma File Manager from CWM --- Must have aroma ([COLOR=Red]aromafm.zip) placed on root of sdcard[/COLOR]) 
    - Multi zip installer
    - Reboot options - Power off re-added under this menu
    - Pointless but people keep asking me for it so re-added wipe battery stats also.
    - LuPuS themed...
    - Fixed "dancing android


    Multiboot[/SIZE][/U][/B]



    For help and support on Multiboot, please check fma965's thread - "Noob friendly guide to Multibooting Jellybean"


    Requirements:
    • Unlocked Vendor partition (see "Download/Installation" below)
    • System size below 310MB
    • ICS Only - AOSP-based ROM (not stock-based)



    Features:

    Huge thanks @CosmicDan



    ICS and JB Support
    One kernel, two worlds... you can install any AOSP-based ICS ROM (e.g. CM9, AOKP, etc) in any Slot (as long as it's multiboot aware, see below) and it will work automatically.


    Team Win Recovery Project
    CWM-Recovery has been replaced with the powerful TWRP. Full touch interface, file browser, backup names with keyboard, batch ZIP install, and more.


    Multiboot RAMDisk
    Pressing Vol-Down will now show a GUI for selecting which slot you want to boot or enter recovery on. Slot 2 and 3 are stored in ext2 images on your SDCard, and the process is fully automated and well-detailed to guide you through it. Please note that you can only install a ZIP in Recovery for Slot 2 and 3 if it is marked "Multiboot-aware" (see Compatibility section below).


    Repair Tools
    The Tools > Repair menu allows you to check your sdcard and sd-ext for errors and repair them. Also fix permissions and scan/repair Slot 2 and 3. This solves a lot of common problems with data and app2sd issues.


    609MB data partition space
    Cache is reduced to 8MB and system reduced to 280MB, giving a total size of 639MB for data. The ROM must be smaller than 280MB for this to work obviously (see "tested" section below). The cache is only 8MB so the kernel automatically links /cache/dalvik-cache to /data/dalvik-cache (simulates MIUI behavior).


    Wifi Module auto-install
    If the wifi module on the system doesn't exist or is different to the one in the ramdisk, it will be installed/replaced automatically. As an additional fail-safe, the kernel has magic checking (module version) removed - so any module will install on this kernel (but that does not mean it will work!)


    Compatibility

    The kernel has been tested and working on the following ROM's -


    • Turbo UI Preview (CosmicDan's source build) (Multiboot-aware)
    • Project Jellyzeus AOSP (CosmicDan's source build) (Multiboot-aware)
    • SlimBean for Xperia Play GSM/CDMA (cj360's source build) (Multiboot-aware)
    • P.A.C Man-PA (wedgess' source build) (Multiboot-aware)
    • Paranoid Android (wedgess' source build) (Multiboot-aware)
    • CM10 (Not multiboot-aware)
    • CM9 (Not multiboot-aware)
    Please report if it works or not for other Jellybean/ICS-AOSP ROM's.


    Bugs/Important Caveats


    • If your ROM has a "Reboot to Recovery" option, using it will load a broken Recovery where no mounts work. I can't fix this, so simply don't use it (just use Vol-Down on normal reboot).
    • Using Fastboot may trigger a "boot menu loop" - simply enter CWM-Recovery for any slot and then select reboot to solve it.



    Important info regarding safe Multiboot
    • Do NOT install a ROM ZIP in Slot 2 or 3 until it is marked "multiboot-aware". Otherwise the ROM will format/install to your internal, no matter *what* you do. For details on how to make a ROM multiboot-aware, see this post.
    • To get around a ROM not being multiboot aware (if you want to install it in Slot 2 or 3), simply install in Internal (Slot 1) as normal, then set up the second or third slot with "Copy from Internal" instead of "Blank". Then of course you can reformat and reinstall on Internal.
    • Make sure your SDCard is free of errors. If you encounter *any* issues with a ROM, do a full Repair in the Tools menu before reporting any issues.
    • *Never* unmount SDCard in Recovery for Slot 2 and 3. But Mounting USB Storage is 100% fine.


    Downloads



    If you like my work please consider buying me a beer or something else ;)
    by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.


    #####################################################################################################################

    LuPuSv8-720p-jB-Kernel.img
    Md5 = 0x39750d29497af539a3810b4b877fd5e0
    LuPuSv8-480p-jB-Kernel.img
    Md5 = 0x965333fb455d7f077dfa1f7428058d6a

    If wifi doesnt work flashable zip is attached at the bottom of the post
    #####################################################################################################################[/LIST]



    First-time users - Enter Multiboot Menu (Vol-Down key) and go to Internal > Recovery, then format system, data and cache before doing anything else. Very important.


    If you cannot enter the Boot Menu or Recovery after flashing, you need to flash the FTF first.


    If you are running LuPuS-jB-v6 or older, the partition map has changed (30MB moved from data to system). You MUST Nandroid Backup before flashing the v7 update, then Nandroid restore after flashing. Otherwise you WILL lose your data.


    If your MD5# doesn't match re-download
    59
    LuPuS v13


    Changelog
    Code:
    [B]v13[/B]
    - Added option to enable Quick Key Reset (enable / disable via LuPuS Menu)
    - Tuned Governors 
      * superbad
      * lionheart
      * virtuous
      * darkside
      * conservative
      * smartassH3
    - Really use google snappy zRam (improves zRam)
    - Added zCache
    - Removed persistent RAM
    - Removed some more kernel debugging
    - uninterruptible sleep
    - Update SIO & CFQ
    - Added Ultra-KSM
    - Removed optimized AES & SHA1 routines
    - Updated TWRP to 2.4.4
       *Fixed Mount USB Storage in TWRP
    - Updated CWM to latest Official CWM source
       *Removed reboot options
       *Re-added power off and reboot system now to main menu
    - Improved wifi-loading scripts
    - Clean up of lupus menu
    - Fixed root issue on some devices
    - Reworked kernel logs (can  be found in /data/local/tmp)
    - Boot.d - If phone is taking a long time to start move suspicious init.d scripts to /system/etc/boot.d
      They will be run in background and won't affect boot time.




    LuPuS MENU



    You can run lupus menu from terminal or scriptmanager or similar, you must run as root or script will exit with a message

    in terminal

    Code:
    su
    sh lupus


    * information is in lupus menu

    1/ CIFS Menu *
    • Enable
      Disable

    2/ zRam Menu *
    • Enable
      Disable
      Set zRam size ( default is 60)

    3/ Frandom Menu *
    • Enable
      Disable

    4/ Clean and Remove tweaks
    • Remove init.d's

    5/ Tweak Menu
    Note all tweaks are preset from here and option to set as init.d's
    • Clean all temp files
      SQLITE optimizations
      LMK Optimizations
      Network optimizations
      Defend against ARP spoofing
      Remove android logger
      SDcard speed tweak
      Flag blocks as non-rotational

    6/ Choose Recovery
    • TWRP
      CWM

    7/ Performance Menu
    Note all options are se by user input from here and option to set as init.d's
    • Set CPU frequencies
      Set Governor
      Set IO-Scheduler
      Voltage Control
      VM tweaks (explained below)

    VM Tweaks


    dirty ratio and dirty background ratio 1 & 2
    This controls how often the kernel writes data to "disk" (in our case the internal microSD system card, not the removable microSD card). When your apps write data to disk, Linux actually doesn't write the data out to the disk right away, it actually writes the stuff to system memory and the kernel handles when and how the data is actually going to be flushed to the disk. These values represent a percentage, the higher the percentage, the longer it waits to flush, the lower the percentage, the more often flushes will occur. Now remember, we are dealing with solid state storage, not the traditional disk platter and spindle. So we are actually able to delay flushes a little longer with solid state versus a traditional hard drive disk.


    dirty_expire_centisecs
    How old "dirty" data should be before the kernel considers it old enough to be written to disk. It is expressed in 100ths of a second.

    dirty_writeback_centisecs

    This is the interval of when the writeback daemons periodically wake up and write "old" data out to disk. It is expressed in 100ths of a second.

    min free kbytes
    This is used to force the Linux VM to keep a minimum number of kilobytes free. The VM uses this number to compute a pages_min value for each lowmem zone in the system. Each lowmem zone gets a number of reserved free pages based proportionally on its size. Default is 2048kb.

    overcommit_memory
    This controls overcommit of system memory, possibly allowing processes to allocate (but not use) more memory than is actually available.

    0 - Heuristic overcommit handling. Obvious overcommits of address space are refused. Used for a typical system. It ensures a seriously wild allocation fails while allowing overcommit to reduce swap usage. root is allowed to allocate slighly more memory in this mode. This is the default.
    1 - Always overcommit. Appropriate for some scientific applications.
    2 - Don't overcommit. The total address space commit for the system is not permitted to exceed swap plus a configurable percentage (default is 50) of physical RAM. Depending on the percentage you use, in most situations this means a process will not be killed while attempting to use already-allocated memory but will receive errors on memory allocation as appropriate.

    Swappiness
    A property for the Linux kernel that changes the balance between swapping out runtime memory, as opposed to dropping pages from the system page cache. Swappiness can be set to values between 0 and 100 inclusive. A low value means the kernel will try to avoid swapping as much as possible where a higher value instead will make the kernel aggressively try to use swap space.

    VFS Cache Pressure
    File system cache (dentry/inode) is really more important than the block cache above in dirty ratio and dirty background ratio, so we really want the kernel to use up much more of the RAM for file system cache, this will increas the performance of the system without sacrificing performance at the application level. The default value is 100, as a percentage, and what you want to do is lower the value to tell the kernel to favor the file system cache and not drop them aggressively.


    If you like my work please consider buying me a beer or something else ;)
    by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.




    Downloads



    If you like my work please consider buying me a beer or something else ;)
    by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.


    #####################################################################################################################


    480p
    LuPuS_zeus_jBv13-ram.img
    md5 = d3588985ea241c4e44cf27be30b74b0f


    720p
    LuPuS_zeus_jBv13-full.img
    md5 = 9d5d17ca438ae745a793a6841b320f48
    13
    Released LuPuSv13


    Code:
    [B]v13[/B]
    - Added option to enable Quick Key Reset (enable / disable via LuPuS Menu)
    - Tuned Governors 
      * superbad
      * lionheart
      * virtuous
      * darkside
      * conservative
      * smartassH3
    - Really use google snappy zRam (improves zRam)
    - Added zCache
    - Removed persistent RAM
    - Removed some more kernel debugging
    - uninterruptible sleep
    - Update SIO & CFQ
    - Added Ultra-KSM
    - Removed optimized AES & SHA1 routines
    - Updated TWRP to 2.4.4
       *Fixed Mount USB Storage in TWRP
    - Updated CWM to latest Official CWM source
       *Removed reboot options
       *Re-added power off and reboot system now to main menu
    - Improved wifi-loading scripts
    - Clean up of lupus menu
    - Fixed root issue on some devices
    - Reworked kernel logs (can  be found in /data/local/tmp)
    - Boot.d - If phone is taking a long time to start move suspicious init.d scripts to /system/etc/boot.d
      They will be run in background and won't affect boot time.
    10
    LuPuSv5 Released

    v5 changes
    - Fixed battery dran
    - Updated SIO IO-schedule
    - Reverted 2ghz to 1.6ghz
    - Updated LZO compression / Decompression
    - Further optimzed

    Please Click Thanks