[KERNEL][ARC/S] LuPuSv16 [LINARO 4.7.3][STOCK ICS][UPDATED-19-06-13]

Search This thread

wedgess

Retired Forum Mod / Inactive Recognized Developer
Apr 23, 2012
3,228
14,094
Dublin, Ireland
www.pac-rom.com
LuPuS Kernel Stock
abzNncsi.png



Hi I have kernels for the PLAY and one for the PRO, ARC/S users where pm'img me to make my one for the PRO compatible
with the ARC/S. Unfortunately they never got back to me about testing, But no worries as besttt said he would test
for me and thanks to his extensive testing it was able to boot and apparently is super smooth :p well i'll release so you can all test
it out for your selves :good:


Disclaimer


Code:
[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"]#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 your [COLOR="DarkRed"]problems[/COLOR]
[COLOR="Magenta"]#endif[/COLOR][/COLOR]



Included in kernel


[/LIST]

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

Added Governors --
  • - lagfree
    - brazillianwax
    - smoothass
    - scary
    - savagedzen
    - smartass
    - smartassv2
    - smartassH3
    - 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
    - O/C and stable upto 2ghz, although I do not recommend O/C to 2ghz for long periods of time, do so at your own risk.


Show your support for the kernel and my work by putting this in your signature, its only a quick one I done up with my limited time :(

xtWNL.png


Code:
http://i.imgur.com/xtWNL.png

A big thanks to -
gu5t3r
DooMLoRD
Jimbo77
xeozus
NobodyAtAll
Faux123
Erasmus
Leedroid
FXP Team
Jerpelea
[NUT]
besttt - testing
tempest918 - For the Logo
Sinkster - testing
besttt - testing
Phil3759
CTCaer

For v2 i've started from scratch from Sony's xx.587 sources, I know everything might not be added and some things may need to be fixed
so anything that needs to be fixed or you would like to be added leave a suggestion (not an order) in the thread. Everything mentioned above has been added.



Downloads in post 2

Kernel source --- -branch master
https://github.com/garwedgess/LuPuS-STOCK-ICS-Xperia2011

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,228
14,094
Dublin, Ireland
www.pac-rom.com
Changelog
Code:
[B]Previous releases[/B]
[hide]
[U][B][COLOR="Blue"]What's been added in v3[/COLOR][/B][/U]
[LIST]
~2 Way call recording
~ Ext4 support
~ More battery friendly (so far so good)
~ Increased WiFi signal strength 
~ Free’d Ram 
~ GPU Overclock 
~ Made kernel smoother
~ Might of left one or 2things out here
~ 0% battery patch thanks to Bazoocaze
[/LIST]

[U][B][COLOR="Blue"]What's been added in v4[/COLOR][/B][/U]
[LIST]~ Fixed not booting issue
~ Fixed GPU OC 200+ points improvement for 2D & 3D
~ Added Full Custom Voltage control
[/LIST]

[B][U][COLOR="Blue"][B][U]Whats new in v6[/U][/B][/COLOR][/U][/B]
[LIST]~ Completely fixed boot problem[COLOR="blue"][COLOR="Red"] (boot is set to 806MHz, don't complain as you will OC anyway :p)[/COLOR][/COLOR]
~ Quicker boot time
~ Fixed battery issues :fingers-crossed:
~ Added governor-- [COLOR="SeaGreen"]Intellidemand2[/COLOR]
~ Fixed GPU OC
~ Wifi Signal and lock on much quicker/better
~ Alot of clean-ups & small fixes
~ kgsl: Use highest performance level on wake-up from sleep
[/LIST]

[B][COLOR="Blue"]New in v8[/COLOR][/B]

- Added USB OTG support (see attachments in Downloads section)
- Tweaked Intellidemand2 Thanks          [user=1844875]@CosmicDan[/user] - Dbus_ramping = gives project butter feel :)
- Removed CIFS & NFS to help increase battery (test)
- Disabled my disablng of sched feature
- More tweaks
- Possibly more

[B][U]v9[/U][/B]

- Improved Battery Life alot :)
- Thumbee support
- ARM7 optimizations
- Brought OC back down to 1.6 max (no need for it above 1.6 unless u want to kill your device)
[B]- Kernel sources completely reworked started from scratch o Sony xx.587 sources[/B]
- Tiny RCU
- Upddatedd 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
- LMK Optimizations (LowMemoryKiller)
- VDD support (voltage conrol)
- Linaro Optimzations
- Compaction added
- KSM
- CIFS (improved support)
- NTFS
- USB OTG
- Updated to newest SIO Io-Scheduler
- Google Snappy Compress & Decompress
- Added Vibrate To Recovery (Notification to enter CWM)
- Wifi module size drasticly reduced

[B][U]v10[/U][/B]
- Built with Linaro 4.7.3 (02-01-13)
- Reworked Ramdisk, uses new method
- Auto Root updated to SuperSU, only roots device if Superuser.apk or SuperSU.apk dont already exist
- New LuPuS menu - check in post #1 on how to use it
- Build in wifi modules ( if wifi modules don't work on first install reboot)
- Built in CIFS & USB OTG (from lupus menu)
- Built in zRam, you can also change zRam size (from LuPuS menu)
- TWRP and latest CWM Recovery {change default in LuPuS Menu)
- Supports Gb and ICS (GB has wifi broken ATM)
- Tweaks menu from LuPuS menu script
- Free'd 11mb RAM
- cgroup scheduling
- binder changes from 2.6.32.60
- binder: Fix use of uninitialized variable.
- net sched: fix some kernel memory leaks
- net/ipv4: Eliminate kstrdup memory leak
- ipv4: force_igmp_version ignored when a IGMPv3 query received
- pids: Fix a race in pid generation that causes pids to be reused immediately
- smart toggle overclock upto 2ghz
- changed RD compression to LZMA
- enable group scheduling
- removed some debugging
- cleaned up config
- USB tether
- enable ipsec tunnel support in kernel
- SQLITE3 DB vacumming
- Further compressed ramdisk
- disabled cuse, enabled md4 + nls_utf8 as modules
**Probably alot more but this is all I can remember for now**


[B]-v11[/B]
- [COLOR="Red"]Updated kernel to 2.6.32.60[/COLOR]
- CWM = volume down
- TWRP = volume up
- Complete clean up and new improved LuPuS Menu
- Free's more RAM 360mb RAM in total now
- Fixed AROMA
- Backport Binder from CAF 3.4.0
- Triple Buffer
- Frandom
- Tweaked deadline
- Tweaked SmartassV2
- New governor SmartassH3
- New IO-Scheduler ZEN
- Patch so entropy no longer depletes
- Zcache
- ARM optimizations
- Genlock backported from CAF
- Replaced old compaction with newer/better version
- Backported logger from CAF and free'd RAM from logger
- Updated improved LMK
- Removed fudgeswap
- Updated crc32 lib from 3.3 kernel
- New net scheduler Stochastic Fair Blue (SFB)
- Optimized Tiny RCU
- CFS tweaks
- Quick keyboard reset (hold HOME + POWER)
- Timed_gpio backported from CAF
- Snapdragon optiizations
- Improved boot time
- Improved wifi to load at first boot
- Removed Autoroot feature
[URL="https://github.com/garwedgess/LuPuS-STOCK-ICS-Xperia2011/commits/2.6.32.x"]** Plus more see here for all patches and credits**
Also Big thanks at gu5t3r and [NUT][/URL]

[B]v12[/B]
- Fixed HDMI
- Fixed Video playback/recording
- Reverted back to linux kernel 2.6.32.9
- Removed triple buffer (caused some lag)
- Fixed problem with root @ gu5t3r
- LuPuS Script now runs properly from Terminal Emulator @ gu5t3r
- Free RAM = 355mb and is stable
- Added fool-proof to ramdisk -- if non-supported Android version is found (not ICS or GB) Kernel will boot into CWM

[B]v13[/B]
- Fixed CPU Governor and Frequencies not sticking at boot -- thanks          [user=4665716]@gu5t3r[/user]
---- 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...

[B]v14[/B]
- Fixed Camera Key
- Kernel works on CM9
- Removed persistent RAM
- Remove other errors from dmesg
- Improved wifi loading
- Disabled Key Reset (can be enbled in LuPuS Menu)
---- CWM updated to 6.0.3.2
- Fixed Advanced restore
- Fixed busybox symlinks generation (aka) fixed CWM backup not working
- Fixed install from sideload being mixed up with toggle signature
- Remove confirmation from install from sideload as it can be cancelled at anytime.
---- Complete Ramdisk Clean up & Improvment
- Reworked booting
- Supports m2sd and other ap2sd scripts 
- Force booting -After 2 Vibrations Hold Home for ICS
                -Hold Home and press VolDown for CM9
                -Hold Home and press VolUp for GB
- Fixed Reboot To Recovery (It reboots to last one used IF you don't have scripts that wipe /cache on boot)
- Reworked Kernel logs, they are located at /cache/recovery/ and /data/local/tmp/
- Improved init.d
- lupus menu clean up
- Added Vendor fix from Hallon & Anzu
         - option to mount / unmount
         - Backup / Restore /system/vendor
- 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.

[B]v15[/B]
- Added Ultra-KSM
- Tuned Governors 
  * superbad
  * lionheart
  * virtuous
  * darkside
  * conservative
  * smartassH3
- Really use google snappy zRam (improves zRam)
- Fix nasty sigreturn bug
- Fix compiler warnings
- Do uninteruptible sleep
- Other various fixes
- Removed GB & CM9 support
- Other various ramdisk improvments
- Updated TWRP - Mounting Mass Storage should be fixed
- Updated LuPuS CWM to latest Official CWM changes
  * Fixed advanced restore
  * Removed Reboot Options
  * Brough Reboot System Now back to Main Menu
  * Brought Power Off back to Main Menu
  * After install of zip dont return to main menu
  * Minor UI changes
- Fixed Mounting Vendor (please test can be set via lupus menu) 
                        - patch can also be forced at boot by
hold home + hold voldown = force ics + vendor patch
hold home + tap vol down = force ics
			  key -- Thanks     [user=4665716]@gu5t3r[/user][/hide]

[B]v16[/B]
- Fix some lag in gaming
- Set default swappiness to 20
- Removed fsync
- Removed Cleancache
- Removed zCache
- Removed WasActive page flag
- Removed Zen IO-Scheduler
- Fixed issue with some devices booting into CWM
- Fixed CWM install options order
- Fixed TWRP adb and mounting USB storage
- Fixed PATH for LuPuS Menu
- Added UKSM options to LuPuS-Menu


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.



---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

LuPuSv16 Downloads

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

If you need root for STOCK ROM
Code:
[COLOR="Purple"]Root[/COLOR] : ( Flashable via recovery )
* SuperSU : [URL="http://download.chainfire.eu/204/SuperSU/"][COLOR="Green"][U]Download[/U][/COLOR][/URL]
* Superuser : [URL="http://androidsu.com/superuser/"][COLOR="Green"][U]Download[/U][/COLOR][/URL]



CWM = VOLUME DOWN
TWRP = VOLUME UP


LuPuS_anzu_Stock-iCsv16-full.img
md5 = a2d14f97a76afcae5de3a4654c554ca0

Wifi is build in NO NEED for WIFI MODULES.ZIP


Mirrors - and all other releases
http://www.goo.im/devs/wedgess


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ALL PREVIOUS VERSIONS ARE HERE-------

ARC-kernel-folder
ARC-wifi-folder


Check your MD5 match the above if not re-download
 
Last edited:

wedgess

Retired Forum Mod / Inactive Recognized Developer
Apr 23, 2012
3,228
14,094
Dublin, Ireland
www.pac-rom.com

LuPuS MENU




To Run LuPuS Menu use either ScriptManager get it HERE on google playstore

Or

Use Terminal Emulator get it HERE on google playstore.


Code:
su
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/ USB OTG *
  • Enable
    Disable

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

6/ 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


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.

8/ Enable / Disable Quick Key Reset
- Reboot device quickly by Holding HOME and POWER Key (Disabled by default)

  • - Enable
    - Disable

9/ Vendor Options
- Fix for Anzu and Hallon Vendor problem

  • - Mount
    - Unmount
    - Backup
    - Restore
 
Last edited:

wedgess

Retired Forum Mod / Inactive Recognized Developer
Apr 23, 2012
3,228
14,094
Dublin, Ireland
www.pac-rom.com
Hi!
This kernel is compatible with .587 LT15i?

Sorry...xD "CM9 based"...:D for Play
Or what? :D


Its for ARC and ARCS its stock based and off .4 sources untill I see if it's popular or not if it is I will update during the week to new sources
and add in Aroma file manager when you hit volume down button and CWM when you hit back button :good:

CM9/10 kernels maybe coming soon, i'll see if I can make time for it :cowboy:
 

jarein95

Senior Member
Jan 21, 2012
1,581
694
Bilbao
what governors do you recommend?? and can i have swap and zram, both of them, activated at the same time??
 

bukest

Senior Member
Mar 23, 2010
126
57
Berhida
Its for ARC and ARCS its stock based and off .4 sources untill I see if it's popular or not if it is I will update during the week to new sources
and add in Aroma file manager when you hit volume down button and CWM when you hit back button :good:

CM9/10 kernels maybe coming soon, i'll see if I can make time for it :cowboy:

Hm... Flashed this without any problem and any FC on .587 a few minutes ago. :)
It's so fast. :)))
Now, try the wiFi and Zram enabler.
 
  • Like
Reactions: wedgess

besttt

Senior Member
Jun 19, 2012
3,990
4,512
52
athens
did you have arc or arc s?

---------- Post added at 02:05 AM ---------- Previous post was at 02:04 AM ----------

Same here, but WiFi has something wrong. It's turn on, but didn't connect to my router with WPA2 security.
"Connecting..."
'Authentication..."
"Connecting..."
'Authentication..."
...
wait for a fix we just want more users to report:good:

---------- Post added at 02:06 AM ---------- Previous post was at 02:05 AM ----------

WiFi's fine. Noticable difference immediately, I'll leave it overnight and see what happens...


(ignore the sig, I'm running Miui v4 atm)
arc or arc s user?
 

wedgess

Retired Forum Mod / Inactive Recognized Developer
Apr 23, 2012
3,228
14,094
Dublin, Ireland
www.pac-rom.com
what governors do you recommend?? and can i have swap and zram, both of them, activated at the same time??

Ye zram may cause lag it doesn't for me on the PLAY but you can always disable it, probably intellidemand, superbad, ondemandx, darkside and for battery virtuous=1/3rd better then stock :)

WiFi's fine. Noticable difference immediately, I'll leave it overnight and see what happens...


(ignore the sig, I'm running Miui v4 atm)

What you using ARC or ARC S???



And please hit thanks in the OP, I don't have this phone and didn't need to spend time making this,
but thought
I'd help the community, All it is is clicking a button
:good:
 
Last edited:

drabd

Senior Member
its amazing kernel sooooooooooooooooooooooooooooooo smoooooooooooooooooooooth
but unfortunately wifi not working

request please
1) can u add the new source :)
2) can u increase the wifi signal when u fix it for arc s users
3) can u add more ram
best wishes and gooooooood luck to u
-----------------------------------
sent from LT8i ARC S
unlocked bootloader
 
Last edited:

wedgess

Retired Forum Mod / Inactive Recognized Developer
Apr 23, 2012
3,228
14,094
Dublin, Ireland
www.pac-rom.com
its amazing kernel sooooooooooooooooooooooooooooooo smoooooooooooooooooooooth
but unfortunately wifi not working

request please
1) can u add the new source :)
2) can u increase the wifi signal when u fix it for arc s users
3) can u add more ram
best wishes and gooooooood luck to u
-----------------------------------
sent from LT8i ARC S
unlocked bootloader

Yes depending on how it does ill build from newest source. And more ram so u want me to break 720p recording??





Sorry man, this kernel is based on .587 source?


No for now it .4 sources will update tho maybe today, depending




Charging from USB isn't work for me.

Ohhhh ok will have to fix that later when im home :confused: looks like ill just have to build from newest sources

Sent from my GT-I9300
 

Top Liked Posts

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



    Hi I have kernels for the PLAY and one for the PRO, ARC/S users where pm'img me to make my one for the PRO compatible
    with the ARC/S. Unfortunately they never got back to me about testing, But no worries as besttt said he would test
    for me and thanks to his extensive testing it was able to boot and apparently is super smooth :p well i'll release so you can all test
    it out for your selves :good:


    Disclaimer


    Code:
    [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"]#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 your [COLOR="DarkRed"]problems[/COLOR]
    [COLOR="Magenta"]#endif[/COLOR][/COLOR]



    Included in kernel


    [/LIST]

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

    Added Governors --
    • - lagfree
      - brazillianwax
      - smoothass
      - scary
      - savagedzen
      - smartass
      - smartassv2
      - smartassH3
      - 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
      - O/C and stable upto 2ghz, although I do not recommend O/C to 2ghz for long periods of time, do so at your own risk.


    Show your support for the kernel and my work by putting this in your signature, its only a quick one I done up with my limited time :(

    xtWNL.png


    Code:
    http://i.imgur.com/xtWNL.png

    A big thanks to -
    gu5t3r
    DooMLoRD
    Jimbo77
    xeozus
    NobodyAtAll
    Faux123
    Erasmus
    Leedroid
    FXP Team
    Jerpelea
    [NUT]
    besttt - testing
    tempest918 - For the Logo
    Sinkster - testing
    besttt - testing
    Phil3759
    CTCaer

    For v2 i've started from scratch from Sony's xx.587 sources, I know everything might not be added and some things may need to be fixed
    so anything that needs to be fixed or you would like to be added leave a suggestion (not an order) in the thread. Everything mentioned above has been added.



    Downloads in post 2

    Kernel source --- -branch master
    https://github.com/garwedgess/LuPuS-STOCK-ICS-Xperia2011

    CWM source -- https://github.com/garwedgess/android_bootable_recovery -b lupus-cwm
    391
    Changelog
    Code:
    [B]Previous releases[/B]
    [hide]
    [U][B][COLOR="Blue"]What's been added in v3[/COLOR][/B][/U]
    [LIST]
    ~2 Way call recording
    ~ Ext4 support
    ~ More battery friendly (so far so good)
    ~ Increased WiFi signal strength 
    ~ Free’d Ram 
    ~ GPU Overclock 
    ~ Made kernel smoother
    ~ Might of left one or 2things out here
    ~ 0% battery patch thanks to Bazoocaze
    [/LIST]
    
    [U][B][COLOR="Blue"]What's been added in v4[/COLOR][/B][/U]
    [LIST]~ Fixed not booting issue
    ~ Fixed GPU OC 200+ points improvement for 2D & 3D
    ~ Added Full Custom Voltage control
    [/LIST]
    
    [B][U][COLOR="Blue"][B][U]Whats new in v6[/U][/B][/COLOR][/U][/B]
    [LIST]~ Completely fixed boot problem[COLOR="blue"][COLOR="Red"] (boot is set to 806MHz, don't complain as you will OC anyway :p)[/COLOR][/COLOR]
    ~ Quicker boot time
    ~ Fixed battery issues :fingers-crossed:
    ~ Added governor-- [COLOR="SeaGreen"]Intellidemand2[/COLOR]
    ~ Fixed GPU OC
    ~ Wifi Signal and lock on much quicker/better
    ~ Alot of clean-ups & small fixes
    ~ kgsl: Use highest performance level on wake-up from sleep
    [/LIST]
    
    [B][COLOR="Blue"]New in v8[/COLOR][/B]
    
    - Added USB OTG support (see attachments in Downloads section)
    - Tweaked Intellidemand2 Thanks          [user=1844875]@CosmicDan[/user] - Dbus_ramping = gives project butter feel :)
    - Removed CIFS & NFS to help increase battery (test)
    - Disabled my disablng of sched feature
    - More tweaks
    - Possibly more
    
    [B][U]v9[/U][/B]
    
    - Improved Battery Life alot :)
    - Thumbee support
    - ARM7 optimizations
    - Brought OC back down to 1.6 max (no need for it above 1.6 unless u want to kill your device)
    [B]- Kernel sources completely reworked started from scratch o Sony xx.587 sources[/B]
    - Tiny RCU
    - Upddatedd 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
    - LMK Optimizations (LowMemoryKiller)
    - VDD support (voltage conrol)
    - Linaro Optimzations
    - Compaction added
    - KSM
    - CIFS (improved support)
    - NTFS
    - USB OTG
    - Updated to newest SIO Io-Scheduler
    - Google Snappy Compress & Decompress
    - Added Vibrate To Recovery (Notification to enter CWM)
    - Wifi module size drasticly reduced
    
    [B][U]v10[/U][/B]
    - Built with Linaro 4.7.3 (02-01-13)
    - Reworked Ramdisk, uses new method
    - Auto Root updated to SuperSU, only roots device if Superuser.apk or SuperSU.apk dont already exist
    - New LuPuS menu - check in post #1 on how to use it
    - Build in wifi modules ( if wifi modules don't work on first install reboot)
    - Built in CIFS & USB OTG (from lupus menu)
    - Built in zRam, you can also change zRam size (from LuPuS menu)
    - TWRP and latest CWM Recovery {change default in LuPuS Menu)
    - Supports Gb and ICS (GB has wifi broken ATM)
    - Tweaks menu from LuPuS menu script
    - Free'd 11mb RAM
    - cgroup scheduling
    - binder changes from 2.6.32.60
    - binder: Fix use of uninitialized variable.
    - net sched: fix some kernel memory leaks
    - net/ipv4: Eliminate kstrdup memory leak
    - ipv4: force_igmp_version ignored when a IGMPv3 query received
    - pids: Fix a race in pid generation that causes pids to be reused immediately
    - smart toggle overclock upto 2ghz
    - changed RD compression to LZMA
    - enable group scheduling
    - removed some debugging
    - cleaned up config
    - USB tether
    - enable ipsec tunnel support in kernel
    - SQLITE3 DB vacumming
    - Further compressed ramdisk
    - disabled cuse, enabled md4 + nls_utf8 as modules
    **Probably alot more but this is all I can remember for now**
    
    
    [B]-v11[/B]
    - [COLOR="Red"]Updated kernel to 2.6.32.60[/COLOR]
    - CWM = volume down
    - TWRP = volume up
    - Complete clean up and new improved LuPuS Menu
    - Free's more RAM 360mb RAM in total now
    - Fixed AROMA
    - Backport Binder from CAF 3.4.0
    - Triple Buffer
    - Frandom
    - Tweaked deadline
    - Tweaked SmartassV2
    - New governor SmartassH3
    - New IO-Scheduler ZEN
    - Patch so entropy no longer depletes
    - Zcache
    - ARM optimizations
    - Genlock backported from CAF
    - Replaced old compaction with newer/better version
    - Backported logger from CAF and free'd RAM from logger
    - Updated improved LMK
    - Removed fudgeswap
    - Updated crc32 lib from 3.3 kernel
    - New net scheduler Stochastic Fair Blue (SFB)
    - Optimized Tiny RCU
    - CFS tweaks
    - Quick keyboard reset (hold HOME + POWER)
    - Timed_gpio backported from CAF
    - Snapdragon optiizations
    - Improved boot time
    - Improved wifi to load at first boot
    - Removed Autoroot feature
    [URL="https://github.com/garwedgess/LuPuS-STOCK-ICS-Xperia2011/commits/2.6.32.x"]** Plus more see here for all patches and credits**
    Also Big thanks at gu5t3r and [NUT][/URL]
    
    [B]v12[/B]
    - Fixed HDMI
    - Fixed Video playback/recording
    - Reverted back to linux kernel 2.6.32.9
    - Removed triple buffer (caused some lag)
    - Fixed problem with root @ gu5t3r
    - LuPuS Script now runs properly from Terminal Emulator @ gu5t3r
    - Free RAM = 355mb and is stable
    - Added fool-proof to ramdisk -- if non-supported Android version is found (not ICS or GB) Kernel will boot into CWM
    
    [B]v13[/B]
    - Fixed CPU Governor and Frequencies not sticking at boot -- thanks          [user=4665716]@gu5t3r[/user]
    ---- 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...
    
    [B]v14[/B]
    - Fixed Camera Key
    - Kernel works on CM9
    - Removed persistent RAM
    - Remove other errors from dmesg
    - Improved wifi loading
    - Disabled Key Reset (can be enbled in LuPuS Menu)
    ---- CWM updated to 6.0.3.2
    - Fixed Advanced restore
    - Fixed busybox symlinks generation (aka) fixed CWM backup not working
    - Fixed install from sideload being mixed up with toggle signature
    - Remove confirmation from install from sideload as it can be cancelled at anytime.
    ---- Complete Ramdisk Clean up & Improvment
    - Reworked booting
    - Supports m2sd and other ap2sd scripts 
    - Force booting -After 2 Vibrations Hold Home for ICS
                    -Hold Home and press VolDown for CM9
                    -Hold Home and press VolUp for GB
    - Fixed Reboot To Recovery (It reboots to last one used IF you don't have scripts that wipe /cache on boot)
    - Reworked Kernel logs, they are located at /cache/recovery/ and /data/local/tmp/
    - Improved init.d
    - lupus menu clean up
    - Added Vendor fix from Hallon & Anzu
             - option to mount / unmount
             - Backup / Restore /system/vendor
    - 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.
    
    [B]v15[/B]
    - Added Ultra-KSM
    - Tuned Governors 
      * superbad
      * lionheart
      * virtuous
      * darkside
      * conservative
      * smartassH3
    - Really use google snappy zRam (improves zRam)
    - Fix nasty sigreturn bug
    - Fix compiler warnings
    - Do uninteruptible sleep
    - Other various fixes
    - Removed GB & CM9 support
    - Other various ramdisk improvments
    - Updated TWRP - Mounting Mass Storage should be fixed
    - Updated LuPuS CWM to latest Official CWM changes
      * Fixed advanced restore
      * Removed Reboot Options
      * Brough Reboot System Now back to Main Menu
      * Brought Power Off back to Main Menu
      * After install of zip dont return to main menu
      * Minor UI changes
    - Fixed Mounting Vendor (please test can be set via lupus menu) 
                            - patch can also be forced at boot by
    hold home + hold voldown = force ics + vendor patch
    hold home + tap vol down = force ics
    			  key -- Thanks     [user=4665716]@gu5t3r[/user][/hide]
    
    [B]v16[/B]
    - Fix some lag in gaming
    - Set default swappiness to 20
    - Removed fsync
    - Removed Cleancache
    - Removed zCache
    - Removed WasActive page flag
    - Removed Zen IO-Scheduler
    - Fixed issue with some devices booting into CWM
    - Fixed CWM install options order
    - Fixed TWRP adb and mounting USB storage
    - Fixed PATH for LuPuS Menu
    - Added UKSM options to LuPuS-Menu


    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.



    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    LuPuSv16 Downloads

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    If you need root for STOCK ROM
    Code:
    [COLOR="Purple"]Root[/COLOR] : ( Flashable via recovery )
    * SuperSU : [URL="http://download.chainfire.eu/204/SuperSU/"][COLOR="Green"][U]Download[/U][/COLOR][/URL]
    * Superuser : [URL="http://androidsu.com/superuser/"][COLOR="Green"][U]Download[/U][/COLOR][/URL]



    CWM = VOLUME DOWN
    TWRP = VOLUME UP


    LuPuS_anzu_Stock-iCsv16-full.img
    md5 = a2d14f97a76afcae5de3a4654c554ca0

    Wifi is build in NO NEED for WIFI MODULES.ZIP


    Mirrors - and all other releases
    http://www.goo.im/devs/wedgess


    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    ALL PREVIOUS VERSIONS ARE HERE-------

    ARC-kernel-folder
    ARC-wifi-folder


    Check your MD5 match the above if not re-download
    104

    LuPuS MENU




    To Run LuPuS Menu use either ScriptManager get it HERE on google playstore

    Or

    Use Terminal Emulator get it HERE on google playstore.


    Code:
    su
    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/ USB OTG *
    • Enable
      Disable

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

    6/ 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


    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.

    8/ Enable / Disable Quick Key Reset
    - Reboot device quickly by Holding HOME and POWER Key (Disabled by default)

    • - Enable
      - Disable

    9/ Vendor Options
    - Fix for Anzu and Hallon Vendor problem

    • - Mount
      - Unmount
      - Backup
      - Restore
    32
    Rleased LuPuS v16

    Code:
    [B]v16[/B]
    - Fix some lag in gaming
    - Set default swappiness to 20
    - Removed fsync
    - Removed Cleancache
    - Removed zCache
    - Removed WasActive page flag
    - Removed Zen IO-Scheduler
    - Fixed issue with some devices booting into CWM
    - Fixed CWM install options order
    - Fixed TWRP adb and mounting USB storage
    - Fixed PATH for LuPuS Menu
    - Added UKSM options to LuPuS-Menu

    Thanks @gu5t3r
    29
    LuPuS v15 Released

    Code:
    v15
    - Added Ultra-KSM
    - Tuned Governors 
      * superbad
      * lionheart
      * virtuous
      * darkside
      * conservative
      * smartassH3
    - Really use google snappy zRam (improves zRam)
    - Fix nasty sigreturn bug
    - Fix compiler warnings
    - Do uninteruptible sleep
    - Other various fixes
    - Removed GB & CM9 support
    - Other various ramdisk improvments
    - Updated TWRP - Mounting Mass Storage should be fixed
    - Updated LuPuS CWM to latest Official CWM changes
      * Fixed advanced restore
      * Removed Reboot Options
      * Brough Reboot System Now back to Main Menu
      * Brought Power Off back to Main Menu
      * After install of zip dont return to main menu
      * Minor UI changes
    - Fixed Mounting Vendor (please test can be set via lupus menu) 
                            - patch can also be forced at boot by
    hold home + hold voldown = force ics + vendor patch
    hold home + tap vol down = force ics
    			  key -- Thanks  [user=4665716]@gu5t3r[/user]