[KERNEL][LINARO 4.7.3] LuPuS Kernel for Stock ICS v6 [ALL MDPI][15 May 2013]

singh_dd93

Inactive Recognized Developer
Oct 3, 2011
1,533
3,536
0
27
Ludhiana, Punjab
LuPuS Kernel Stock



VERSION 6

GB kernel for ALL MDPI can be found on this thread http://forum.xda-developers.com/showthread.php?t=2295108

Will update the OP later.

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

Disclaimer

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

Included in kernel



NEW

LuPuS Script
You can run LuPuS script in terminal emulator app
In terminal simply type

Code:
su
Code:
sh lupus

You can choose to enable / disable
  • Cifs
  • zRam - and set its size

Tweaks
  • Low Memory Killer optimizations
  • Kernel Memory tweaks
  • Network Optimizations


USB OTG
  • Enable
  • Disable


Reset
  • Use this if you are having problems with recovery or wifi is not working


You can switch recovery (default is CWM)
  • TWRP (v2.4.3.0)
  • CWM (v6.0.2.7)

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

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

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

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

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


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

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

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

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

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

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

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

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

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




A big thanks to -
wedgess - for the source and a lot of help
kamarush - for recovery
fxp - for few fixes
an0nym0us_ - for guiding in fixing half screen aroma bug
Many brave Testers

Downloads and Changelog in post 2

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

Thank wedgess in Post #6 :good:


Guys if you wanna donate to me then Please follow this method
login to your paypal account
in sending money enter email id [email protected]
enter the amount and transfer.

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

singh_dd93

Inactive Recognized Developer
Oct 3, 2011
1,533
3,536
0
27
Ludhiana, Punjab
Changelog
Code:
[B][COLOR="Blue"]What's been added in v3[/COLOR][/B]

~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


[B][COLOR="Blue"]What's been added in v4[/COLOR][/B]

~ Fixed not booting issue 
~ Fixed GPU OC 200+ points improvement for 2D & 3D 
~ Added Full Custom Voltage control


[B][COLOR="Blue"]Whats new in v6[/COLOR][/B]

~ Completely fixed boot problem (boot is set to 806MHz, don't complain as you will OC anyway :p) 
~ Quicker boot time 
~ Fixed battery issues :fingers-crossed: 
~ Added governor-- Intellidemand2 
~ 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


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


- Added USB OTG support (see attachments in Downloads section)
- Tweaked Intellidemand2 Thanks @CosmicDan - 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][COLOR="Blue"]v9 - MDPI v1[/COLOR][/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)
- Kernel sources completely reworked started from scratch o Sony xx.587 sources
- 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
**Probably alot more but this is all I can remember for now**

[B][COLOR="Blue"]v9 - MDPI v2[/COLOR][/B]
-Fixed the Ramdisks
-Fixed the zram bug (disabled by default)
-Added Dual Recovery ( Now 3 different versions with same zimage)

[B][COLOR="Blue"]v9 - MDPI v3[/COLOR][/B]
-Integrated the Wifi modules into the ramdisk
-Fixed modules-signed.zip for auto insmod of storage modules
-Added underclock upto 24Mhz (not recommend to set min clock below 184Mhz)
-Fixed Autoroot in TWRP and DUAL recovery kernel

[B][COLOR="Blue"]v10 -MDPI v4[/COLOR][/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
- fixed the half screen aroma bug
**Probably alot more but this is all I can remember for now**

[B][COLOR="Blue"]v10 -MDPI v5[/COLOR][/B]
- Updated TWRP to 2.4.3.0
- Fixed Auto root script
- Fixed reset in lupus script
- Reverted the default max frequency to 1Ghz
- Few other fixes in Ramdisk
The version for MDPI is based on LuPuS v10


Downloads

http://dds.vigaas.com/kernels/LuPuS_kernel/Version5/

OLD DOWNLOADS

http://dds.vigaas.com/kernels/LuPuS_kernel/Version4/
http://dds.vigaas.com/kernels/LuPuS_kernel/Version3/
http://www.mediafire.com/?hlewc7ddqagrb


No Need of Wifi modules and OTG modules anymore
Every thing is in Ramdisk
 
Last edited:

SirMatin

Senior Member
May 12, 2012
257
33
0
nice work

anybody flashed it on lww? results? Benchmarks?

ps: it's Zram enabler not "Zram eabler"
 
Last edited:

singh_dd93

Inactive Recognized Developer
Oct 3, 2011
1,533
3,536
0
27
Ludhiana, Punjab
Thanks for expanding it to other devices as I dont have time to do it myself. As I said your free to release my cm 9 & 10 kernels aswell if you get time :)

Sent from my GT-I9300 On Official JB
All thanks to you for making such a great kernel. I will port your CM10 kernel next. I will start that few days later.
Couldn't thank you today. Limited to 8 thanks per day. :(
 

moezaka

Senior Member
Oct 24, 2012
241
100
0
Cairo
OMG !!!! just a couple of days ago i was recommending this for a friends of mine with an arc s wishing i could have a linario kernel like him for ics :D, cuz i have M66B's for cm10 and it's perfect !
now i have not only a linario but the same kernel, might be reverting back to ics afterall !
thanks sooooooooooooooooooo much ! :)
 

Ikmalblack95

Senior Member
Sep 3, 2012
473
92
0
Langkawi Island
feel very laggish and hd game not running smooth enough after flashing kernel and module, then try to reboot again and BAM:laugh: no more lag and super smooth!!! thanks singh_dd93 and wedgess for such a great kernel:laugh::laugh::laugh::laugh::laugh::laugh:

edit: strange...:confused: it is just my device having random reboot
 
Last edited:

wedgess

Retired Forum Moderator / Inactive Recognized Deve
Apr 23, 2012
3,229
14,093
0
Dublin, Ireland
www.pac-rom.com
feel very laggish and hd game not running smooth enough after flashing kernel and module, then try to reboot again and BAM:laugh: no more lag and super smooth!!! thanks singh_dd93 and wedgess for such a great kernel:laugh::laugh::laugh::laugh::laugh::laugh:

edit: strange...:confused: it is just my device having random reboot
Must be I havent had any problems with kernels rebooting I had one previous versions but fixed it since then. Can u post the last_kmsg and ill have a look

And ye it supports ext 2 3 & 4

Sent from my GT-I9300 On Official JB