FORUMS
Remove All Ads from XDA

[ARC/S][PRO][KERNEL] LuPuS GBv2 [STOCK GB][LINARO 4.7.3][20-06-13]

3,232 posts
Thanks Meter: 14,518
 
By wedgess, Retired Forum Moderator / Inactive Recognized Developer on 25th May 2013, 03:16 PM
Post Reply Email Thread
LuPuS GB Kernel - Stock
Based Off SONY 4.0.2.A.0.84 Sources



Disclaimer


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




#ifdef
You have a question post it in the thread,
Instead of Pm'ing me, as other users may
experience your problems
#endif




Features


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

Added Governors -
  • - lagfree
    - brazillianwax
    - smoothass
    - scary
    - savagedzen
    - smartass
    - smartassv2
    - smartassH3
    - interactivex
    - minmax
    - powersave
    - performance
    - conservative
    - ondemand
    - interactive
    - userspace
    - lulzactive
    - Virtuous
    - Intellidemand
    - Intellidemand2
    - Lazy
    - OndemandX
    - Lionheart
    - Badass
    - Superbad
    - Darkside
    - SmartassH3

Other features
  • - SLQB
    - Supports ext 2,3 & 4
    - zRam
    - UKSM
    - Init.d support
    - Tiny RCU
    - Tweaked Governors
    - Built with Linaro Toolchain
    - Google Snappy Compression / Decompression
    - Compaction
    - Quick Key Reset
    - Frandom
    - CIFS
    - USB-OTG
    - NTFS
    - TUN
    - OC upto 1.6
    - Under Volting
    - Custom CWM
    - TWRP
    - LuPuS Menu
    - USB Tether

LuPuS Menu --- Click to view info




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

0/ UKSM

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



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



Code:
https://img.xda-cdn.com/1-YQNjsm69E9J0KZsyosgmkSiCk=/http%3A%2F%2Fi.imgur.com%2FxtWNL.png
A big thanks to -
gu5t3r
DooMLoRD
Jimbo77
xeozus
NobodyAtAll
Faux123
Erasmus
Leedroid
FXP Team
Jerpelea
[NUT]
Phil3759
CTCaer

Downloads

If you need root for STOCK ROM
Code:
Root : ( Flashable via recovery )
* SuperSU : Download
* Superuser : Download
ANZU
LuPuS_anzu_GingerBreadv2-full.img
md5 = 18b2dbf60100f4ab2315696d8c5a3e91

Wiif-Modules.zip
md5 = 1c17783463b1af480754a86eb9cae79c



PRO
LuPuS_iyokan_GingerBreadv2-full.img
md5 = acea1de2e58aa19fd7af90962928e879

Wiif-Modules.zip
md5 = 87b9653f44d409d9419a1fb40dc7c6bb



Kernel source --- -branch master
https://github.com/garwedgess/LuPuS-GingerBread

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


Changelog

Code:
v2
- Added UKSM ( can enable it in LuPuS Menu)
- Set default swapiness to 20
- Removed fsync 
- Removed Cleancache
- Removed zCache
- Removed ZEN IO-SCheduler
- Tweaked Entropy
- Stopped entropy from depleting
- Reduced lag in gaming
- Fix LEDs
- Updated CWM
 * brought back reboot system and Power off options to main menu
 * Fixed advanced restore menu
 * updated to latest CWM source 
- Fixed charging offline (on some devices)
- Fixed Google PLAY FC'ing (IYOKAN)
- Minor Clean-up of lupus menu 
- Minor Ramdisk changes
The Following 54 Users Say Thank You to wedgess For This Useful Post: [ View ] Gift wedgess Ad-Free
 
 
25th May 2013, 03:28 PM |#2  
Account currently disabled
Thanks Meter: 11
 
More
YeaH Buddy! thanks a lot
25th May 2013, 10:29 PM |#3  
krattos's Avatar
Member
Flag Barreiro
Thanks Meter: 45
 
More
experienced the kernel but does not start the rom or cwm
maybe rom related (Gin2JellyBean v2.3.0)
25th May 2013, 11:03 PM |#4  
Senior Member
Thanks Meter: 14
 
More
Quote:
Originally Posted by krattos

experienced the kernel but does not start the rom or cwm
maybe rom related (Gin2JellyBean v2.3.0)

same problem except i'm on Gin2JellyBean v2.2.2 (Arc s)
25th May 2013, 11:07 PM |#5  
dpkmna's Avatar
Senior Member
Flag Indore
Thanks Meter: 30
 
More
Quote:
Originally Posted by prance666

same problem except i'm on Gin2JellyBean v2.2.2 (Arc s)

+1
26th May 2013, 02:49 AM |#6  
wedgess's Avatar
OP Retired Forum Moderator / Inactive Recognized Developer
Flag Dublin, Ireland
Thanks Meter: 14,518
 
Donate to Me
More
U guys saying its not booting?? Just getting stuck on LuPuS logo or???
The Following 3 Users Say Thank You to wedgess For This Useful Post: [ View ] Gift wedgess Ad-Free
26th May 2013, 06:36 AM |#7  
dpkmna's Avatar
Senior Member
Flag Indore
Thanks Meter: 30
 
More
Prompt
Quote:
Originally Posted by wedgess

U guys saying its not booting?? Just getting stuck on LuPuS logo or???

getting stuck at LuPuS logo.. n getting restart again n again.. and also not recovery!
26th May 2013, 09:54 AM |#8  
Senior Member
Flag Jakarta
Thanks Meter: 128
 
More
confirm bootloop at kernel logo. can't even enter CWM on freshly flashed FTF.
26th May 2013, 11:54 AM |#9  
wedgess's Avatar
OP Retired Forum Moderator / Inactive Recognized Developer
Flag Dublin, Ireland
Thanks Meter: 14,518
 
Donate to Me
More
OK so is it for the PRO or ARC. And need a tester or else I'll just have to post another untested one here
The Following 3 Users Say Thank You to wedgess For This Useful Post: [ View ] Gift wedgess Ad-Free
26th May 2013, 01:09 PM |#10  
dpkmna's Avatar
Senior Member
Flag Indore
Thanks Meter: 30
 
More
I can test

Sent from my LT18i using xda premium
The Following User Says Thank You to dpkmna For This Useful Post: [ View ] Gift dpkmna Ad-Free
26th May 2013, 01:26 PM |#11  
Senior Member
Thanks Meter: 29
 
More
wow. GB. Been waiting for new GB kernel. thanks.
Not working on X-Gamer ROM Arc.
Got bootloop, can't enter recovery.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes