FORUMS
Remove All Ads from XDA

[KERNEL][NEO/V] LuPuS GBv2 [STOCK GB][LINARO 4.7.3][20-06-13]

3,232 posts
Thanks Meter: 14,519
 
By wedgess, Retired Forum Moderator / Inactive Recognized Developer on 25th May 2013, 03:23 PM
Post Reply Email Thread
LuPuS GB Kernel - Stock


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
    - UKSM
    - Supports ext 2,3 & 4
    - zRam
    - 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

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

LuPuS_haida_GingerBreadv2-full.img
md5 = 6e0511ef72d390a389225a29cef2b645


Wiif-Modules.zip
md5 = 31a235c767a73e34f23a85b873f06e01



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

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

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 20 Users Say Thank You to wedgess For This Useful Post: [ View ] Gift wedgess Ad-Free
25th May 2013, 03:54 PM |#2  
Xperianeovuser's Avatar
Senior Member
Flag BÌNH DƯƠNG
Thanks Meter: 145
 
More
Oc 1.6 ghz is slow please up to 1.8ghz like night-elf

---------- Post added at 09:54 PM ---------- Previous post was at 09:50 PM ----------

Omg so many Governors
25th May 2013, 05:08 PM |#3  
leajian's Avatar
Senior Member
Flag Shin Sekai
Thanks Meter: 392
 
More
Quote:
Originally Posted by Xperianeovuser

Oc 1.6 ghz is slow please up to 1.8ghz like night-elf

---------- Post added at 09:54 PM ---------- Previous post was at 09:50 PM ----------

Omg so many Governors

If you don't want some dead pixels, then I guess 1,6GHz are more than enough.
I am just wishing for a toggle in lupus menu for GPU overclock if possible, even though wedgess claims it that it'll cause lag.

Now I am thinking of creating LuPuS ROM optimized for this kernel based on GB...
I'll get my hands dirty after exams are over...

Sent from my Xperia Neo V using xda premium
25th May 2013, 07:52 PM |#4  
unisol107's Avatar
Senior Member
Flag Bhopal
Thanks Meter: 596
 
More
Hi wedgess...thanks a lot for the kernel...but i have one request...can you build a lite version with more available ram? Like in nightelf 10.1lite kernel, available ram is 384mb...plz can you build a kernel with that much amount of free ram?

Sent from my MT11i
25th May 2013, 11:01 PM |#5  
siankatabg's Avatar
Recognized Developer
Thanks Meter: 7,736
 
Donate to Me
More
Very nice recovery All is good for now.
26th May 2013, 09:09 AM |#6  
-TheJoker-'s Avatar
Senior Member
Thanks Meter: 15
 
More
lupus kernel is good in gin2jellybean rom as always!
26th May 2013, 11:49 AM |#7  
leajian's Avatar
Senior Member
Flag Shin Sekai
Thanks Meter: 392
 
More
Exclamation
Quote:
Originally Posted by kagkouras

lupus kernel is good in gin2jellybean rom as always!

Isn't gin2jellybean rom based on CM7? I ask because it says it's based on 2.3.7 android and sony has given us only 2.3.4. If it is for CM7, I think that it is incompatible. How came that this rom is compatible and 2.3.7 as well?
26th May 2013, 12:01 PM |#8  
wedgess's Avatar
OP Retired Forum Moderator / Inactive Recognized Developer
Flag Dublin, Ireland
Thanks Meter: 14,519
 
Donate to Me
More
Quote:
Originally Posted by Xperianeovuser

Oc 1.6 ghz is slow please up to 1.8ghz like night-elf

---------- Post added at 09:54 PM ---------- Previous post was at 09:50 PM ----------

Omg so many Governors

Not for the moment ill be keeping it at 1.6. You are ceazy if u keep your device running at 1.8ghz. And if its just to get higher benchmarks..... Its pointless.




Quote:
Originally Posted by unisol107

Hi wedgess...thanks a lot for the kernel...but i have one request...can you build a lite version with more available ram? Like in nightelf 10.1lite kernel, available ram is 384mb...plz can you build a kernel with that much amount of free ram?

Sent from my MT11i

I need to free RAM so there will be more RAM in next version. I just want to fix any problems from first release first. As for a light version I will see. Is this with 720p recording disabled??




Quote:
Originally Posted by leajian

Isn't gin2jellybean rom based on CM7? I ask because it says it's based on 2.3.7 android and sony has given us only 2.3.4. If it is for CM7, I think that it is incompatible. How came that this rom is compatible and 2.3.7 as well?

Gin2JB is STOCK based. Not sure exactly of the changes between 2.3.4 and 2.3.7 but u could ask vokal my guess is its minimal. But ye g2jb is the ROM I use for testing GB kernels.
The Following 4 Users Say Thank You to wedgess For This Useful Post: [ View ] Gift wedgess Ad-Free
26th May 2013, 12:36 PM |#9  
deccan451's Avatar
Senior Member
Flag hyderabad
Thanks Meter: 1,109
 
More
Don't disable 720p recording in ICS & GB kernels, we only use gb & ics ROMs for camera& HD recording only...
The Following User Says Thank You to deccan451 For This Useful Post: [ View ] Gift deccan451 Ad-Free
26th May 2013, 02:28 PM |#10  
unisol107's Avatar
Senior Member
Flag Bhopal
Thanks Meter: 596
 
More
Quote:
Originally Posted by wedgess

Not for the moment ill be keeping it at 1.6. You are ceazy if u keep your device running at 1.8ghz. And if its just to get higher benchmarks..... Its pointless.






I need to free RAM so there will be more RAM in next version. I just want to fix any problems from first release first. As for a light version I will see. Is this with 720p recording disabled??






Gin2JB is STOCK based. Not sure exactly of the changes between 2.3.4 and 2.3.7 but u could ask vokal my guess is its minimal. But ye g2jb is the ROM I use for testing GB kernels.

no...NE10.1lite has 720p enabled...and HD recording works like charm...everything works great...you can check his thread to see differences b/w full and lite versions.
384mb for GB is more than enough.
27th May 2013, 04:07 AM |#11  
chacharizard's Avatar
Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by unisol107

Hi wedgess...thanks a lot for the kernel...but i have one request...can you build a lite version with more available ram? Like in nightelf 10.1lite kernel, available ram is 384mb...plz can you build a kernel with that much amount of free ram?

Sent from my MT11i

Omg thats a lot of ram how do u get that?. I use gb roms for my daily driver and nightelf for kernel. But the max ram is 230+ only both on lite and full version. Am I missing something?


Sent from my MT11i using xda app-developers app
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