[DEV] [AOSP] [HYBRID] [4.4+] Project Engine Kernel [CORTEX-A9] [1.2] - Galaxy Grand Duos i9082 Android Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Disclaimer:I am not responsible for whatever happens to your phone and if you are willing to try it,then go ahead
What is Project Engine Kernel?: Project Engine Kernel is a kernel that is optimised for performance and battery.It unlocks the full potential of the phone and keeps the phone as safe as possible from any unnecessary bricking and reboots.Compiling this kernel is to let users feel comfortable with the battery life and performance
Of course, your feedback, as always, are welcome and appreciated
The main features are the following:
- Linux Kernel 3.0.101 Sneaky Weasel
- Compiled with latest Linaro GCC 4.7 ARM Cortex A-9 Optimised with NeonVFP3 Technology Toolchain
- Hybrid Updates and Backports from Latest Linux Kernel
- Selinux Optimisations
- CPU boost driver
- Reduce logger to free more RAM size
- Low-memory killer ported from 3.4 Kernel(Credits to k2wl)
- Timer slack controller added with custom tuning available for users
- ARM Topology Optimisations
- Fast frandom Generator(Linked to dev/random)
- Dynamic FileSync Control by faux123
- Dirty-page writeback by Christopher83
- Cross Memory Attach
- CK3 Tweaks by Con Kolivas
- Increase default entropy settings
- Frequency steps to 1.5Ghz
- Ultra Kernel Samepage Merging
- SLQB Memory Allocator
- ARM bug fixes
- Proportional TCP Rate Reduction(Click here for more details)
CPU governors:
- Adaptive
- Conservative
- Interactive
- InteractiveX
- LionHeart
- OnDemand (default)
- Performance
- Powersave
- SmartAssV2
- SmartAssH3
I/O schedulers:
- BFQ
- CFQ
- Deadline
- Noop
- SIO (default)
- V(R)
Kernel Downloads for KitKat:
The Project Engine Website is coded and designed by Triprex and Ashish Bansal a.k.a mr.phantom
Click on the Baffin Folder and download the zip file:Click Here to Download
How to install the kernel:
1) Download the preferred kernel zip file to sdcard or external sdcard
2) Reboot to recovery mode
3) Flash the kernel zip file
4) Wipe cache and dalvik cache if you're coming from another kernel
5) Reboot the system
Kernel sources (on GitHub):
Development branch of Project Engine Kernel
Changelog:
These are all taken from git log because i have 100+ commits
Code:
d56fbf2 (HEAD, origin/cm11, cm11) Revert "thp: mremap support and TLB optimization"
* 8aa65eb sysctl: add support for poll()
* b0fc53c mm: restrict access to slab files under procfs and sysfs
* b5461b3 (master) thp: mremap support and TLB optimization
* 549fa86 lib/string: use glibc version
* f2a49e8 lib/memcopy: use glibc version
* 5d813c8 Proportional Rate Reduction for TCP.
* c9a43a9 lib: Improve the performance of string.c
* 29e62cc make register_disk() static
* 5988d2f power: Front buffer early suspend draw delay sysfs control
* 005d0ef Clean up codes
* e6905db ARM: Add optimised swahb32() byteswap helper for v6 and above
* 968129c Cleaning up residue files
* 547a1bf Added building scripts and update toolchain path
* faa65f4 Revert "fix linaro memset"
* d298a3d fix linaro memset
* 7ae0867 Revert "Update to 3.1.1"
* 82c7fe9 Revert "Update to 3.1.2"
* efbb39e Revert "Add some mfd drivers"
* 77c96b5 Modified VC version
* 4bee175 block: introduce the BFQ-v5r1 I/O sched for 3.0
* 437673c block: introduce the BFQ-v5r1 I/O sched for 3.0
* 439a713 Update defconfig to support exfat
* 1b5218c add exfat support
* 9b5c013 timer: optimize apply_slack()
* 9c9cf7c Revert "kernel: Prevent unnecessary rfkill event generation."
* 84a2dd8 Squashed update of BFQ-v6r1 to BFQ-v6r2
* 85c2b2a block: Squashed update of BFQ-v6 to BFQ-v6r1
c9402e4 Rebase back to BFQVR
* 4926547 Revert "Squashed update of BFQ-v6r1 to BFQ-v6r2"
* bc933b4 Squashed update BFQ
* 264d2ce ARM: disable preemption in machine_shutdown
* f863375 block: introduce the BFQ-v5r1 I/O sched for 3.0
* b595d07 block: cgroups, kconfig, build bits for BFQ-v5r1-3.0
* 65bd617 block: prepare I/O context code for BFQ-v5r1 for 3.0
* 21043f4 Revert "lib/string: use glibc version"
* b3a172d Revert "lockdep: remove task argument from debug_check_no_locks_held"
* 6d37bb9 Revert "lib/memcopy: use glibc version"
* 8486b2b lockdep: remove task argument from debug_check_no_locks_held
* ff0ef66 fixed autosleep and enabled it
* 84b58cb kernel/power/powersuspend: new PM kernel driver for Android w/o earlysuspend (faux123). Backported to 3.0.10
* 50d2250 Enable UNALIGNED_ACCESS for the new LZO algorithm to use. LZO decrompression is used on QCACHE so we benefit
* c79c949 kernel: Prevent unnecessary rfkill event generation.
* 51c7801 ext4: fixup 64-bit divides in 3.0-stable backport of upstream fix
* c0434dd ext4: use atomic64_t for the per-flexbg free_clusters count
* f7951a1 ext4: fixup 64-bit divides in 3.0-stable backport of upstream fix
* cc1ab54 kernel: Disabled Gentle Fair Sleepers for better performance
* 5c309ab lib/string: use glibc version
* c212f2c lib/memcopy: use glibc version
* e657a26 rwsem: check counter to avoid cmpxchg calls
* fc293ca rwsem: no need for explicit signed longs
* b4868a6 Revert "cpufreq: interactive: handle errors from cpufreq_frequency_table_target"
* 356ca4c cpufreq: interactive: handle errors from cpufreq_frequency_table_target
* b324d73 Update toolchain path for ARM-EABI-Linaro 4.7 toolchain
* 0ab6ac1 ARM: 7670/1: fix the memset fix
* eeb403a ARM: 7668/1: fix memset-related crashes caused by recent GCC (4.7.2) optimizations
* For more info,check out my github for commits
[U]Version 1.1[/U]
* Remove O3 Optimisations
* For more info,check out my github for commits
Credits and Thanks to:
k2wl,pawitp,xenon92,akiratoriyama,CoolDevelopment,thewadegeek,Christopher83,mr.phantom,Galaxy Grand Hangout Group,faux123,boype,Linux Devs,Samsung,Kernel.org,Linaro GCC,Cyanogenmod,Linux Kernel Newbies,educk,AriesDevConnection Team
XDA:DevDB Information
[DEV] [AOSP] [4.4+] Project Engine Kernel [CORTEX-A9], Kernel for the Samsung Galaxy Grand Duos i9082
Contributors
TripRex, mr.phantom
Kernel Special Features:
Version Information
Status: Stable
Created 2014-04-27
Last Updated 2014-05-11

Reserved
Special features and sysfs settings (Part 2):
Timer slack controller and dynamic management of the minimal timer slack value
The timer slack controller is a feature developed by Kirill Shutemov and it allows to set the minimal timer slack value for every process contained within a control group (cgroup).
A timer slack allows the kernel to manage processes wakeup requests at some future time.
Thanks to this feature, the kernel can set a specific timer slack for the involved processes, minimizing the number of wakeups and allowing a lower system's power consumption.
For further info: Timer slack for slacker developers
I also implemented a new feature in addition to the above one that allows the dynamic management of the minimal timer slack value.
So, it's possible to use different minimal timer slack value when the system is active and when has been suspended.
How to customize the dynamic timer slack controller feature:
Three new cgroup parameters are exposed inside each processes hierarchy contained in /dev/cpuctl path:
- timer_slack.min_slack_ns is the timer slack used when the system is active for the current processes hierarchy
- timer_slack.min_slack_suspend_ns is the timer slack used when the system is suspended for the current processes hierarchy
- timer_slack.effective_slack_suspend_ns is the timer slack currently used
At the moment, the values chosen and used by K^Kernel are the following:
- core processes (/dev/cpuctl), 0 ns when the system is active, 50000 ns when the system is suspended
- foreground apps/processes (/dev/cpuctl/apps), 0 ns when the system is active, 250000 ns when the system is suspended
- background non interactive apps/processes (/dev/cpuctl/apps/bg_non_interactive), 100000000 ns when the system is active, 250000000 ns when the system is suspended
1) By directly editing one of the file written above inside /dev/cpuctl and inside each hierarchy subfolder, by setting the preferred value (note that set value will be lost after a reboot/shutdown)
2) By using Terminal Emulator (note that set value will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run these commands to set the minimal timer slack for generic and core apps/processes
Code:
su
echo 0 > /dev/cpuctl/timer_slack.min_slack_ns
echo 50000 > /dev/cpuctl/timer_slack.min_slack_suspend_ns
- Run these commands to set the minimal timer slack for apps/processes in foreground
Code:
su
echo 0 > /dev/cpuctl/apps/timer_slack.min_slack_ns
echo 100000 > /dev/cpuctl/apps/timer_slack.min_slack_suspend_ns
- Run these commands to set the minimal timer slack for apps/processes in background and non interactive
Code:
su
echo 100000000 > /dev/cpuctl/apps/bg_non_interactive/timer_slack.min_slack_ns
echo 250000000 > /dev/cpuctl/apps/bg_non_interactive/timer_slack.min_slack_suspend_ns
LowMemoryKiller management of not killable processes
This feature allows to define processes and system processes white-lists filled with the preferred process names and to not be killed by lowmemorykiller, unless it is absolutely necessary.
This feature exposes four new lowmemorykiller parameters:
- donotkill_proc, is the flag to enable / disable this feature for the processes chosen by the user
- donotkill_sysproc, is the flag to enable / disable this feature for the system processes chosen by the user
- donotkill_proc_names, is the list of process names (comma separated) chosen by the user to be preserved from killing
- donotkill_sysproc_names, is the list of user system process names (comma separated) chosen by the user to be preserved from killing
When the lowmemorykiller needs to free ram, it will first kill the processes not included inside the two process name lists chosen by the user.
If there are no more standard killable processes, then it will be necessary to kill one of the processes included inside one of the two white-lists, to prevent system hangs, slowdowns, etc.
How to customize the white lists of processes to preserve from killing:
On K^Kernel the feature is enabled by default and the provided processes white lists are the following:
- donotkill_proc_names = "com.cyanogenmod.trebuchet,com.anddoes.launcher,com.teslacoilsw.launcher,org.adwfreak.launcher,gtp.nextlauncher,android.inputmethod.latin,com.touchtype.swiftkey"
this means that Trebuchet Launcher, Apex Launcher, Nova Launcher, ADW Launcher, Next Launcher, stock keyboard and SwiftKey keyboard will be preserved from killing
- donotkill_sysproc_names = "android.process.acore,com.android.phone,com.bel.android.dspmanager"
this means that the system process, the phone process and DSP Manager will be preserved from killing
1) By using a customized init.d script (the custom value will be always restored after a reboot, if you don't format the system partition)
- Download the script named 80dnkp
- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension
- Edit the file by setting your preferred status and processes list
- Copy the new file inside /etc/init.d
- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)
- Reboot
2) By directly editing the files inside /sys/module/lowmemorykiller/parameters (note that set values will be lost after a reboot/shutdown)
3) By using Terminal Emulator (note that set values will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run these commands if you want to enable the feature
Code:
# To enable this feature for the processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To enable this feature for the system processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc
- Run these commands if you want to disable the feature
Code:
# To disable this feature for the processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To disable this feature for the system processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc
- Run this command if you want to add, for example, Trebuchet Launcher (CM default launcher) and the default keyboard to the processes white list
Code:
echo "com.cyanogenmod.trebuchet,android.inputmethod.latin" > /sys/module/lowmemorykiller/parameters/donotkill_proc_names
- Run this command if you want to add, for example, the system process, the phone process and DSP Manager to the system processes white list
Code:
echo "android.process.acore,com.android.phone,com.bel.android.dspmanager" > /sys/module/lowmemorykiller/parameters/donotkill_sysproc_names
Credits to:Christohper83 for this guide
I picked out the ones that is only able to used with this kernel so follow these steps to tweak the kernel because not all tweaks written by Christopher83 can work on our device

Reserved
Here i will explain why i created a new thread.As you can see,my previous thread was supposed to be for Stock 4.2.2 kernel then i jumbled it all up with CM11 and stock 4.2.2 and so it is better for me to create a new thread for better management for my kernels

Great features trippy... Congo dude..
Sent from my GT-I9082 using Tapatalk

Killer stuffff :laugh::good:

Only for CM11? or all AOSP ROMS !!

supersaayuj said:
Only for CM11? or all AOSP ROMS !!
Click to expand...
Click to collapse
Our AOSP is only CM11 LOL
Sent from my iPad using Tapatalk

TripRex said:
Our AOSP is only CM11 LOL
Sent from my iPad using Tapatalk
Click to expand...
Click to collapse
I didn't meant that.. I mean this kernel can be used on Resurrection Remix..

supersaayuj said:
I didn't meant that.. I mean this kernel can be used on Resurrection Remix..
Click to expand...
Click to collapse
It can work on all CM 11 ROM except roms with f2fs support
Sent from my iPad using Tapatalk

TripRex said:
It can work on all CM 11 ROM except roms with f2fs support
Sent from my iPad using Tapatalk
Click to expand...
Click to collapse
Can't download bro..zip file is only 213 bytes and its damaged! :silly:

Looks like I (re)started interest in kernel development for Grand :good:

Is this work on cm11?
Sent from my GT-I9505 using Tapatalk

supersaayuj said:
Can't download bro..zip file is only 213 bytes and its damaged! :silly:
Click to expand...
Click to collapse
Link re-uploaded to AndroidFileHost for time being

Will this kernel work on CM 11 with dual sim enabled?

akiratoriyama said:
Looks like I (re)started interest in kernel development for Grand :good:
Click to expand...
Click to collapse
So true, so true!

Not working on cm11 getting random reboot[emoji20]
Sent from my GT-I9505 using Tapatalk

Working fine for me on latest rr! Thank you! :thumbup:
Sent from my GT-I9082 using XDA Premium 4 mobile app

Working fine on latest rr rom....thanksss
Sent from my GT-I9082 using XDA Premium 4 mobile app

Installed on CM11. So far good !

tharmor said:
Installed on CM11. So far good !
Click to expand...
Click to collapse
Reboot after watching youtube for 5 mins..... happened three times now....
Any Fix ???
Sent from my GT-I9082 using xda app-developers app

Related

[PRO][KERNEL] LuPuS-JBv12 [JB 4.1 & 4.2][LINARO 4.7.3][UPDATED 08-06-13]

LuPuS-JB-Kernel
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Built with Linaro
LuPuS-PRO-STOCK KERNEL HERE
LuPuS-CM9-KERNEL HERE
This kernel can be used on any JB CM BASED JB 4.1 or 4.2
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)
Data
Everything Else that works on FXP
What doesn't work --
Anything that doesn't work on FXP
Whats included in kernel
Added Governors --
brazillianwax
smartass
Smartassv2
Savagedzen
Smoothass
Scary
InteractiveX
Minmax
Userspace
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.
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
- Superbad
- a "superbad" super smooth rendition of a highly optimized "smartass" governor!
- Darkside
- a "slightly more agressive smart" optimized governor!
-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.
-Virtuous
Virtuous is a modded smartassV2 which gives even more battery time then smartassV2
Added Io-scheduler --
VR io-scheduler - Unlike other schedulers, synchronous and asynchronous requests are not treated separately,
instead a deadline is imposed for fairness. The next request to be served is based on it's distance from last request.
- SIO - Simple IO-Scheduler-
SIO is the default scheduler in this kernel. It is widely-regarded as the best all-round performing IO scheduler for android. It is low on CPU usage and optimized for flash-based storage. From the creator - "Based on Noop, Deadline and V(R) IO schedulers. This algorithm does not do any kind of sorting, as it is aimed for aleatory access devices, but it does some basic merging. We try to keep minimum overhead to achieve low latencies. Asynchronous and synchronous requests are not treated separately, but we rely on deadlines to ensure fairness."
- BFQ - Budget Fair Queueing IO-Scheduler-
From Creators
* Copyright (C) 2008 Fabio Checconi <[email protected]>
* Paolo Valente <[email protected]>
*
* Licensed under the GPL-2 as detailed in the accompanying COPYING.BFQ file.
*
* BFQ is a proportional share disk scheduling algorithm based on the
* slice-by-slice service scheme of CFQ. But BFQ assigns budgets,
* measured in number of sectors, to tasks instead of time slices.
* The disk is not granted to the active task for a given time slice,
* but until it has exahusted its assigned budget. This change from
* the time to the service domain allows BFQ to distribute the disk
* bandwidth among tasks as desired, without any distortion due to
* ZBR, workload fluctuations or other factors. BFQ uses an ad hoc
* internal scheduler, called B-WF2Q+, to schedule tasks according to
* their budgets. Thanks to this accurate scheduler, BFQ can afford
* to assign high budgets to disk-bound non-seeky tasks (to boost the
* throughput), and yet guarantee low latencies to interactive and
* soft real-time applications.
Click to expand...
Click to collapse
- Incresed WiFi-Signal Strength
- Changes to save battery(if it works)
- Make overall kernel smoother
- O/C 2ghz
- Updated and Changed Zram (thanks to faux123)
- Updated and changed LZO compression and decompression = Double increase in performance
- Added Init.d Support
- Added tweaks on boot
-Overclocked to 2ghz--- Stable up to 1.9ghz, 2ghz may just reboot device, although I do not recommend O/C for long at high settings,
if you damage your phone I am not responsible
- Supports CIFS
- Built with LINARO
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
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/ Choose Recovery
TWRP
CWM
8/ 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.
I would like to say a big thanks to -
FXP - Sources/help with wifi (thanks Jerpelea)
Cyanogenmod - Sources
Dympy - For helping me test alot
Dexmorr - testing
tempest918 - For the New Logo
DooMLoRD - for patches and all the work he has done for Xpeeria's
xeozus
NobodyAtAll
Faux123
Erasmus
Leedroid
Jerpelea
Phil3795
CTCaer
Anyone missing please PM me
LuPuS-jB sources -b jellybean
https://github.com/garwedgess/semc-kernel-msm7x30
CWM source -- https://github.com/garwedgess/android_bootable_recovery -b lupus-cwm
Changelog:
Code:
[hide][B][U]v2 Changes[/U][/B]
[list]
- New Governor Intellidemand2 Thanks @ CosmicDan
- Added vibrate to boot so you know when to enter CWM
- Couple of extra tweaks improvements to battery
- Fixed Wifi
- Reverted Cleancache
- Reverted my disabling of disabling sched_feautures if you get that
- Added USB OTG modules ( find attached zip at the end of the post----> NOTE Not a flashable zip)
- Added stable OC tablefor higher OCing
[/list]
[B][U]V3 Changes[/U][/B]
[LIST]- Updated LZO
- Added Cleancache
- Small code fixes
- Removed OC so phone doesnt boot at 2ghz for a split second
- Updated to latest FXP changes
- Optimizations for Linaro
- USB OTG flashable zip
[/LIST]
[B][U]v4 changes
[/U][/B]
[LIST]
- Recovery Fixed no more "DANCING" - Thanks [user=3365554]@Skrit[/user]chz
- Added Tiny RCU
- Patched LZO
- Updated to Linaro 4.7 toolchain
- Changed to Google snappy compression/decompression
- Much more optimizations
- THUMBEE optimized
- Uncompressed Image instead of zImage
[B][U]v5[/U][/B]
- built with latest linaro 4.7.3 (02-01-2013) - Thanks @ ChainFirex
- Added memcopy
- Added compaction
- Lowered vfs_cache_pressure
- LMK (lowmemorykiller) optimizations
- Improved CIFS support
- Enabled USB tether
- Disabled gentle_fair_sleepers
- Updated video drivers
- Clean up on wifi config
- Back-ported binder changes
- TWRP recovery - thanks @ championswimmer & TWRP team
[/LIST]
[B][U]v6[/U][/B]
- Built with Linaro 4.7.3 (02-01-2013)
- Free'd RAM (disabled 720p) now 381mb - Thanks at Paul678
- 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
- Fix PageHead
- Fix binder. use of uninitialized variable.
- Fix kernel/net Memory Leaks
- Eliminate kstrdup memory leak
- ipv4: force_igmp_version ignored when a IGMPv3 query received
- Fix Entropy Depleting (no more depleting) - Thanks @ Kees Cook
- enable ipsec tunnel support in kernel (Latest FXP Change)
- ARM7 optimsations + more in config
- TWRP v2.4 - Thanks @ Championswimmer, TWRP Team and Wechy 77 for parts of his LuPuS theme
- NEW zRam Eabler to work on TWRP
[B]v7[/B]
- Supports both 4.1 & 4.2 JB
- New IIO Scheduler ZEN thanks [user=2632235]@bbedward[/user]
- New Governor smartassH3 thanks [user=3057569]@Hero[/user]
- Tweaked Deadline IO scheduler
- Tweaked smartassv2
- Tweaked performance Governor
- Frandom
- SFB Net scheduler
- OC up to 1804.8MHz
- Logger backported from CAF
- 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]v8[/B]
- Latest changes to ALS and Button Backlight -- Thanks @ FXP
- Lowered OC to 1612.8Mhz
- Remove ALS and Button Backlight option from LuPuS Menu (no longer needed)
- Random reboots should be fixed ( for those who where having such issues )
- Fixed TWRP
[B]v9 -- Unreleased[/B]
v10
- Fixed 3D from hanging under high intensity
- Fix pmem for HDPI Mike NG (no more reboots??)
- CWM Recovery = VOLUME DOWN
- TWRP Recovery = VOLUME UP
- Clean up on LuPuS Menu
- Better wifi check
- KEY RESET ( Menu and POWER)
- Tuned Smartassv3 and SmartassH3 [user=2799345]@M66B[/user]
-----
To Enter LuPuS Menu now is
su
lupus
Thanks @ gu5t3r
[B]v11[/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"[/hide]
[B]v12[/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.
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_iyokan_jBv12-ram.img
md5 = b0326e4b89795a2500b8ab3d20b621a3
720p
LuPuS_iyokan_jBv12.1-full.img
md5 = 4fbd58c5d16e61be0d98ae7abf794838
No Wifi Modules needed
Mirrors -- all LuPuS Kernels can be found here
www.goo.im/devs/wedgess
- zRam is not enabled by default unless on CM10 ROM, for AOKP to enable it flash the wedgess-zram-enabler.zip in CWM
- If for whatever reason you want to disable Zram after you have flashed the .zip, just go to ect/init.d and delete 00zram
People will ask so i'll just post it here---------to check if zRam is enabled go to terminal emulator or similar and type
Code:
free
or alternatively
Code:
cat /proc/swaps
Also added CIFS support....
What is CIFS???
Server Message Block (SMB) or Common Internet File System (CIFS) are normally used to provide shared access to files on a network, mostly involving computers running MS Windows.
It allows you to conveniently mount/unmount your network accessible file resources and access the files transparently via your favourite Android app (playing music / videos, accessing documents etc.) Settings are stored on your SD card with permissions to write also to your SD card.
Instructions
- extract cifsfile.zip
- save cifs,ko file to your sdcard
- in terminal emulator
- cd sdcard
- su
- insmod cifs.ko
Not download CifsManager or similar app and configure it
will you make one for xperia arc/s ?
Ojojojo!!!very very great news!!!!:laugh:
thank you very much!
i want it on arc s too, it looks great!!
don`t work in xperia arc. why?
mohoram said:
don`t work in xperia arc. why?
Click to expand...
Click to collapse
because ur on the xperia PRO thread read
Sent from my GT-I9300
Pls add screnshoot sir.
Works great on PARANOIDANDROID, thanks :good:
Gesendet von meinem PARANOIDEN Xperia Pro mit Jelly Bean.
Using it on cm10 fxp137, working great so far ( just like all your other works ).
Big respect :good:
Hey Wedges!!
We long no talked and i couldnt test your kernels. I was too busy
But im so proud to see you still give some attention to our Pro!
And your work is better than any other!
Keep updating it and take your time buddy!!!:victory:
Thanks bro for release cm10 kernel..
Download & try now..
Great work
Sent from my Xperia Pro using Tapatalk 2
Excellent wedgess!!!
Since I've used your LuPuS Stock v5, I've had no issues. I'm now thinking of testing to use LuPuS for JB or for CM9. My experience in using your kernel, it wasn't your kernel that was the issue, in many cases it was the ROM. So I ask politely, can you make a ROM to go with any of your Kernels?
Hey guys! Help me convince wedgess to build us a matching ROM for his awesome Kernel! Whatever you decide, still thanks wedgess!!! :good::good::good:
[email protected] said:
Excellent wedgess!!!
Since I've used your LuPuS Stock v5, I've had no issues. I'm now thinking of testing to use LuPuS for JB or for CM9. My experience in using your kernel, it wasn't your kernel that was the issue, in many cases it was the ROM. So I ask politely, can you make a ROM to go with any of your Kernels?
Hey guys! Help me convince wedgess to build us a matching ROM for his awesome Kernel! Whatever you decide, still thanks wedgess!!! :good::good::good:
Click to expand...
Click to collapse
hi, i feel a matching ROM for your kernels is a good idea.
+1
i hope you would consider making a matching ROM.
BTW, thanks for providing yet another kernel.
havent used JB/CM10, but will give it a try on your kernel.
thanks again.
+1 Matching ROM for UR Kernals
can i use it with paranoid android for jb... it has a camera fix so if i use this kernel will d camera fix still work??
update??
Seeing as you've already updated the CM9 version, are there any plans on updating CM10 one as well??
at any rate - great work so far, hope we'll see some updates soon!
dannyb0i said:
Seeing as you've already updated the CM9 version, are there any plans on updating CM10 one as well??
at any rate - great work so far, hope we'll see some updates soon!
Click to expand...
Click to collapse
Ill copy and paste this from my cm10 ARC thread: As for updating to fxp 138 there is no kernel changes, was going to add everything from my cm9 kernel today anyway. But not sure if ill use my free time for that today.... these kernels have taken me ALOT of time for a kernel ill never use as i dont own the devices. And its getting harder and harder to explain to the missus when im not making anything.
Sent from my GT-I9300
sidharth.299 said:
can i use it with paranoid android for jb... it has a camera fix so if i use this kernel will d camera fix still work??
Click to expand...
Click to collapse
Yes. Flash kernel then reflash fix
XAS

[ARC/S][KERNEL] LuPuS-JBv12 [JB 4.1 & 4.2][LINARO 4.7.3][UPDATED 08-06-13]

LuPuS-JB-Kernel
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Built with Linaro
This kernel can be used on any JB CM BASED JB 4.1 or 4.2
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]
[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]
What Works --
Wifi - (flash modules)
Data
Everything Else that works on FXP
What doesn't work --
Anything that doesn't work on FXP
Whats Included in kernel ------------
Added Governors --
brazillianwax
smartass
Smartassv2
Savagedzen
Smoothass
Scary
InteractiveX
Minmax
Userspace
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.
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
- Superbad
- a "superbad" super smooth rendition of a highly optimized "smartass" governor!
- Darkside
- a "slightly more agressive smart" optimized governor!
-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.
-Virtuous
Virtuous is a modded smartassV2 which gives even more battery time then smartassV2
Added Io-scheduler --
VR io-scheduler - Unlike other schedulers, synchronous and asynchronous requests are not treated separately,
instead a deadline is imposed for fairness. The next request to be served is based on it's distance from last request.
- SIO - Simple IO-Scheduler-
SIO is the default scheduler in this kernel. It is widely-regarded as the best all-round performing IO scheduler for android. It is low on CPU usage and optimized for flash-based storage. From the creator - "Based on Noop, Deadline and V(R) IO schedulers. This algorithm does not do any kind of sorting, as it is aimed for aleatory access devices, but it does some basic merging. We try to keep minimum overhead to achieve low latencies. Asynchronous and synchronous requests are not treated separately, but we rely on deadlines to ensure fairness."
- BFQ - Budget Fair Queueing IO-Scheduler-
From Creators
* Copyright (C) 2008 Fabio Checconi
* Paolo Valente
*
* Licensed under the GPL-2 as detailed in the accompanying COPYING.BFQ file.
*
* BFQ is a proportional share disk scheduling algorithm based on the
* slice-by-slice service scheme of CFQ. But BFQ assigns budgets,
* measured in number of sectors, to tasks instead of time slices.
* The disk is not granted to the active task for a given time slice,
* but until it has exahusted its assigned budget. This change from
* the time to the service domain allows BFQ to distribute the disk
* bandwidth among tasks as desired, without any distortion due to
* ZBR, workload fluctuations or other factors. BFQ uses an ad hoc
* internal scheduler, called B-WF2Q+, to schedule tasks according to
* their budgets. Thanks to this accurate scheduler, BFQ can afford
* to assign high budgets to disk-bound non-seeky tasks (to boost the
* throughput), and yet guarantee low latencies to interactive and
* soft real-time applications.
Click to expand...
Click to collapse
I would like to say a big thanks to -
FXP - Sources/help with wifi (thanks Jerpelea)
FXP / Cyanogenmod - Sources
besttt - testing
Sinkster
tempest918 - For the New Logo
DooMLoRD - for patches and all the work he has done for Xpeeria's
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
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
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
6/ Clean and Remove tweaks
Remove init.d's
7/ 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
8/ 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.
Changelog
Code:
[HIDE][B][U]v3 Changes[/U][/B]
[list]
- New Governor Intellidemand2 Thanks @ CosmicDan
- Couple of extra tweaks improvements to battery
- Fixed Wifi
- Reverted Cleancache
- Reverted my disabling of disabling sched_feautures if you get that
- Added USB OTG modules ( find attached zip at the end of the post----> NOTE Not a flashable zip)
- Added stable OC tablefor higher OCing
[/list]
[B][U]V4 Changes[/U][/B]
[LIST]- Updated LZO
- Added Cleancache
- Small code fixes
- Removed OC so phone doesnt boot at 2ghz for a split second causing boot problems (should now be fixed)
- Updated to latest FXP changes
- Optimizations for Linaro
- USB OTG flashable zip
[/LIST]
[B][U]v5[/U][/B]
[list]- Completely scrapped previous sources and started fresh
- Wifi problem fixed
- Fixed Battery drain ( Tester lost 0.2% overnigh with wifi on ) :victory:
- CWM fixed thanks @ Scritch007
- Built with Linaro 4.7
- Optimized for Linaro
- Thumbee
- Reverted to 1.6 max OC
- Lzo patched
- Use Google Snappy Compression / Decompression
- Added TINY RCU
- Uses uncompressed Image {why .img size is bigger)
- Custom improvements for overall smoother performance
[B][U]v6[/U][/B]
- built with latest linaro 4.7.3 (02-01-2013) - Thanks @ ChainFirex
- Added memcopy
- Added compaction
- Lowered vfs_cache_pressure
- LMK (lowmemorykiller) optimizations
- Improved CIFS support
- Enabled USB tether
- Disabled gentle_fair_sleepers
- Updated video drivers
- Clean up on wifi config
- Back-ported binder changes
- TWRP recovery - thanks @ championswimmer & TWRP team
- Thanks @ Wechy77 for customizing TWRP
[B][U]v7[/U][/B]
- Built with Linaro 4.7.3 (02-01-2013)
- Free'd RAM (disabled 720p) now 381mb - Thanks at Paul678
- 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
- Fix PageHead
- Fix binder. use of uninitialized variable.
- Fix kernel/net Memory Leaks
- Eliminate kstrdup memory leak
- ipv4: force_igmp_version ignored when a IGMPv3 query received
- Fix Entropy Depleting (no more depleting) - Thanks @ Kees Cook
- enable ipsec tunnel support in kernel (Latest FXP Change)
- ARM7 optimsations + more in config
- TWRP v2.4 - Thanks @ Championswimmer, TWRP Team and Wechy 77 for parts of his LuPuS theme
- New zRam Enabler thats compatible with TWRP
[/list]
[B]v8[/B]
- Supports both 4.1 & 4.2 JB
- New IIO Scheduler ZEN thanks [user=2632235]@bbedward[/user]
- New Governor smartassH3 thanks [user=3057569]@Hero[/user]
- Tweaked Deadline IO scheduler
- Tweaked smartassv2
- Frandom
- SFB Net scheduler
- OC up to 1804.8MHz
- Logger backported from CAF
- 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]v9[/B]
- Latest changes to ALS and Button Backlight -- Thanks @ FXP
- Lowered OC to 1612.8Mhz
- Remove ALS and Button Backlight option from LuPuS Menu (no longer needed)
- Random reboots should be fixed ( for those who where having such issues )
[B]v10[/B]
- Fixed 3D from hanging under high intensity
- Fix pmem for HDPI mike NG (no more reboots??)
- CWM Recovery = VOLUME DOWN
- TWRP Recovery = VOLUME UP
- Clean up on LuPuS Menu
- Better wifi check
- KEY RESET ( Menu and POWER)
- Tuned Smartassv2 and SmartassH3 [user=2799345]@M66B[/user]
Thanks @ gu5t3r
[B]v11[/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"[/hide]
[B]v12[/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)
- Removed persistent RAM
- Added zCache
- 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.
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.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
LuPuS-ARC&S-JBv11 Downloads
480p
LuPuS_anzu_jBv12-ram.img
md5 = 7f969fffdf9cc994a6cacd1e86126e0a
720p
LuPuS_anzu_jBv12.1-full.img
md5 = 82ac86e630532e7e318070abe58dceb3
Mirrors -- all LuPuS Kernels can be found here
www.goo.im/devs/wedgess
Wifi is built in to kernels ramdisk NO MODULES NEEDED
DO NOT MIRROR MY DOWNLOADS
- zRam is not enabled by default unless on CM10 ROM, for AOKP to enable it flash the wedgess-zram-enabler.zip in CWM
- If for whatever reason you want to disable Zram after you have flashed the .zip, just go to ect/init.d and delete 00zram
People will ask so i'll just post it here---------to check if zRam is enabled go to terminal emulator or similar and type
Code:
free
or alternatively
Code:
cat /proc/swaps
Please Click Thanks :good:
Hell yeah!! The best kernel, with difference.
Downloading and flashing...
Hell yeah!!
great news thanx
big boss
Wifi doesn't work, even if you flash the fix.
Can i use fxp137 modules
Sent from my Arc S using xda premium
p47r0n said:
Wifi doesn't work, even if you flash the fix.
Click to expand...
Click to collapse
but my wifi is working fine, thanks!
looking forward to trying this when I get home, looks promising, finally for CM10!!!
A lupus Kernel for CM10 Arc???. I'm about to donate :good:
Just as an advice... If you develop an arc kernel for GingerBread (even CM 7.2), I'll donate again.
So much thanks for you.
:highfive:
caqo71 said:
Just as an advice... If you develop an arc kernel for GingerBread (even CM 7.2), I'll donate again.
So much thanks for you.
:highfive:
Click to expand...
Click to collapse
+1 stock GB I've seen he made one for Pro.
caqo71 said:
A lupus Kernel for CM10 Arc???. I'm about to donate :good:
Just as an advice... If you develop an arc kernel for GingerBread (even CM 7.2), I'll donate again.
So much thanks for you.
:highfive:
Click to expand...
Click to collapse
this kernel is for both arc wnd arc s thank you man tgat would be great as for cm7 u might just motivate me. but rite now i have no intention.
to poster above me i have made stock gb for the play as i own one not pro only ics for pro and arc/s
Sent from my GT-I9300
Instructions
- extract cifsfile.zip
- save cifs,ko file to your sdcard
- in terminal emulator
- cd sdcard
- su
- insmod cifs.ko
Hi
first of all, congratulations to your kernel, have him successfully installed and it runs okay.
But I do not get the go with CIFS.?
nice work, going to try it with AOKP JB. Does it support EXT4 and voltage controle?
Sorry, this kernel works on Paranoidandroid 2.11 Rom?
HorvathTheWizard said:
Sorry, this kernel works on Paranoidandroid 2.11 Rom?
Click to expand...
Click to collapse
Yes all cm10 based roms
Sent from my R800i
does wifi working 100% correct with this kernel?
Sent From Xperia Arc - CM10 Using Xda Premium!
caqo71 said:
Just as an advice... If you develop an arc kernel for GingerBread (even CM 7.2), I'll donate again.
:highfive:
Click to expand...
Click to collapse
+1 too.
i flashed the modules.. wifi not working
lt15i , cm10
EDIT: i reflashed modules/ fix and fixed permitions, wifi is working fine for now
EDIT2: after just few seconds of using, wifi has stopped working, and also system settings FC's a lot..
flashing back fxp's kernel
Marchello1 said:
i flashed the modules.. wifi not working
lt15i , cm10
EDIT: i reflashed modules/ fix and fixed permitions, wifi is working fine for now
EDIT2: after just few seconds of using, wifi has stopped working, and also system settings FC's a lot..
flashing back fxp's kernel
Click to expand...
Click to collapse
strange seem to be the only one wifi works fine
Sent from my GT-I9300

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

LuPuS GB Kernel - Stock
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Based Off SONY 4.0.2.A.0.84 Sources​
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]
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:
http://i.imgur.com/xtWNL.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:
[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]
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:
[B]v2[/B]
- 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
YeaH Buddy! thanks a lot
experienced the kernel but does not start the rom or cwm
maybe rom related (Gin2JellyBean v2.3.0)
krattos said:
experienced the kernel but does not start the rom or cwm
maybe rom related (Gin2JellyBean v2.3.0)
Click to expand...
Click to collapse
same problem except i'm on Gin2JellyBean v2.2.2 (Arc s)
prance666 said:
same problem except i'm on Gin2JellyBean v2.2.2 (Arc s)
Click to expand...
Click to collapse
+1
U guys saying its not booting?? Just getting stuck on LuPuS logo or???
wedgess said:
U guys saying its not booting?? Just getting stuck on LuPuS logo or???
Click to expand...
Click to collapse
getting stuck at LuPuS logo.. n getting restart again n again.. and also not recovery!:crying:
confirm bootloop at kernel logo. can't even enter CWM on freshly flashed FTF.
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
I can test
Sent from my LT18i using xda premium
wow. GB. Been waiting for new GB kernel. thanks.
Not working on X-Gamer ROM Arc.
Got bootloop, can't enter recovery.
zgmfx20 said:
wow. GB. Been waiting for new GB kernel. thanks.
Not working on X-Gamer ROM Arc.
Got bootloop, can't enter recovery.
Click to expand...
Click to collapse
+1
Any Try With Arconium ?
OP updated please let me know if Kernels are OK now...
wedgess said:
OP updated please let me know if Kernels are OK now...
Click to expand...
Click to collapse
Ok now. Wow I didn't expect thumbnail generation in gallery is working. :good: Big thanks!
I enabled frandom in lupus menu, init.d script intact. How can I know if it worked?
Working fine with AGB7 and Gin2Jellybean 2.3.0
Nice one Wedge.
wedgess said:
OP updated please let me know if Kernels are OK now...
Click to expand...
Click to collapse
Working fine with Gin2Jellybean 2.2.2 :good:
Deleted
I noticed constant red notification light when battery is low
After I enabled zram from terminal emulator, is it set on every boot automatically?
Sent from my LT18i using xda app-developers app

[KERNEL][4.1.2][03 Jan.] ★ LiteGX v5.8.0 ★ <><> ... DISCONTINUED !!

[KERNEL][4.1.2][03 Jan.] ★ LiteGX v5.8.0 ★ <><> ... DISCONTINUED !!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WARNING : THIS KERNEL IS ONLY FOR ANDROID 4.1.2 (SAMSUNG) !
This is a pure LITE, STOCK WAY & STABLE kernel with MINIMAL features.
If you are looking to a kernel with less features and more close to stock, check out my StockGX kernel.
My goal is to offer a slight modification of our Samsung stock kernel's, with few features, aiming a better battery life than stock without affecting any drain.
This is a kernel "plug-and-play" or I would say more "flash-and-play". No need for tools or apps to configure the kernel. This is the way I wanted it. A bit like speedmod kernel did.
Unfortunately, I'am not a developer but just a basic person with some android/linux knowledge already.
My dream was one day to create my own kernel, and thanks to great developers that answered my many questions, this dream has been possible. I'am very happy and proud to share my first ever kernel to everybody here.
It must be only flashed over an official Samsung ROM and not AOSP/AOKP !
Feel free to include my kernel to your ROMs / Threads but please don't forget to inform/ask first via PM and credit me in your original thread.​​
★ FEATURES (up-to-date) ★ :​
Base :
Directly based on update11 source from Samsung (for clean work and stability).
Compiled with ARM EABI (v4.4.3) toolchain (with flags optimizations).
Ramdisk from XXEMD3 (for update10 ROMs compatibility without the need to change radio).
Main :
ZZMoove (v0.7d) governor (added and set as default). Many profiles included, grab them below.
ROW (v4) optimized and as only I/O scheduler.
Wolfson Boeffla Sound (v1.6.4 drivers) compatibility.
hardcore mDNIe tweaks (for better colors + sharpness fix for better readability).
Touch-to-Wake (v1.1a) (but disabled by default). Many profiles included, grab them below.
USB charging increased (to 900mA instead of 475 by default).
Allow manual brightness to 300 candela.
zRam added (but disabled by default) with LZ4 compression and 4x swaps. Many profiles included, grab them below.
init.d support.
CRT-off effect friendly (early_suspend set to 100ms).
Native ExFAT support (from official Samsung source).
xbox controller support.
Triangle Away support.
Various tweaks :
4x zRam swaps capability (instead of single one).
Optimized ARM CPU topology.
"GENTLE_FAIR_SLEEPERS" disabled.
"ARCH_POWER" enabled.
"SCHED_MC" added. Many profiles included, grab them below.
"CONFIG_SCHED_AUTOGROUP" enabled.
ROW scheduler & blk-core tweaks.
"Westwood", "HTCP" and "BIC" TCP congestion control modules added. Many profiles included, grab them below.
Enabled persistent TRIM support for all partitions.
Fully compressed libs ".ko" modules.
Automatic dalvik-cache wiping in kernel flashing procedure.
Logging and debugging tweaks :
Android logger disabled.
Kernel logger disabled.
Disabled kernel debugging : Samsung / sec_log / last_kmsg / touchscreen / modem / max77686 / sec_watchdog.
Disabled various debug in defconfig.
Features that will NEVER be included in this kernel :
Overclock / Underclock / Undervolt.
auto-root
LED control.
Charge control.
Master sequence (screen calibrated).
ABB (Adaptive Body Bias).
Any upgrade of Linux kernel 3.0.XX.
STweaks compatibility.
Dual-Boot Sammy/AOSP.
CyanogenMod compatibility.
MIUI compatibility.
etc.
★ PREREQUISITE ★ :​
Any odexed or deodexed international I9300 Samsung 4.1.2 Jelly Bean ROM.
A custom recovery (CWM recommanded) to flash the kernel.
★ FREQUENTLY ASKED QUESTIONS ★ :​
How can I customize this kernel ? :
> Mainly with ZZMoove/zRam profiles (grab them below) and with TricksterMOD / SetCPU apps.
What does the LiteGX cleaner script ? :
> It deletes all ZZMoove/zRam profiles that you flashed after this kernel. So you can go in another kernel safely. It don't removes anything else since this kernel is pure stock based and don't add any files/folders that need to be deleted after. This cleaner script will be only efficient in this situation only, it does not clean anything before coming from another kernel to mine.
Do I need to wipe cache + dalvik each time I flash a new kernel version ? :
> Nope. Moreover dalvik cache is already wiped automatically during flashing procedure.
Do I really need to flash any profiles/scripts ? :
> Definitely not. It's user choice to do it but zRam profiles for example are highly recommanded to be flashed since it adds a lot of smoothness and performance to the kernel (and on which is disabled by default).
Do I need to re-flash ZZMoove ZIP profiles each time I flash a new kernel version ? :
> Nope. It just install an init.d script, so it will be permanent until you delete files from your init.d folder or flash "Cleaner" version which will do this for you.
Do I need to remove old ZZMoove profiles manually before flashing a new profile ZIP ? :
> Nope. Each ZIP's include an automatic removal of previously used profile.
Android OS usage is very often at top of my battery stats ! :
> Try wiping cache and dalvik cache manually in your favorite CWM, then make a full charging until green led appears.
★ SOURCES ★ :​
Github >> LiteGX.
Need supports ? all kind of questions must be posted on this thread directly. Be sure to read at least completely this first post before asking any question.
If you enjoy this kernel, don't forget to rate it
stars, and clicking the 'thanks' button (right below) is always appreciated to keep this thread maintained ​
LIKE MY WORK ?
OFFER ME A
!​​
Changelog + links
★ All ZZMoove / zRam / Cleaner scripts can be found HERE ★​★ All oldest releases can be found HERE ★​
★ CHANGELOG ★ :​
03.01.2013 : v5.8.0 released.
Disabled "CONFIG_SCHED_AUTOGROUP" (useless in Android).
xbox controller now loaded as internal module (instead of external).
30.12.2013 : v5.7.0 released.
Now compiled with stock Android ARM EABI 4.4.3.
28.12.2013 : v5.6.0 released.
Touch-to-Wake is now disabled by default (for battery purpose).
Added some "Touch-to-Wake profiles" into scripts folder :
- Touch-to-Wake_disabled(stock).zip
- Touch-to-Wake_enabled_3s.zip
- Touch-to-Wake_enabled_5s.zip
- Touch-to-Wake_enabled_8s.zip
- Touch-to-Wake_enabled_10s.zip
- Touch-to-Wake_enabled_15s.zip
Updated "LiteGX-KERNEL_full_cleaner.zip" to match new Touch-to-Wake flashable ZIP's (please remove old one).
15.12.2013 : v5.5.0 released.
ramdisk : re-enabled lowmemory killer in 'init.rc'.
SCHED_MC disabled back by default (0) to avoid some people facing some lags due to agressive value (moreover, I prefer to trust ZZMoove stock behaviour).
Added some "SCHED_MC profiles" into scripts folder :
- "SCHED_MC_power_savings_0(stock).zip"
- "SCHED_MC_power_savings_1.zip"
- "SCHED_MC_power_savings_2.zip"
It will be useful for those who wants to change it without the need to use TricksterMOD (etc) anymore.
Updated "LiteGX-KERNEL_full_cleaner.zip" to match new SCHED_MC flashable ZIP's (please remove old one).
05.12.2013 : Flashable ZIP's adding.
Added some "TCP congestion profiles" into scripts folder :
- "TCP-congestion_bic.zip"
- "TCP-congestion_westwood.zip"
- "TCP-congestion_htcp.zip"
- "TCP-congestion_reno.zip"
- "TCP-congestion_cubic(stock).zip"
It will be useful for those who wants to change it without the need to use TricksterMOD (etc) anymore.
Updated "LiteGX-KERNEL_full_cleaner.zip" to match new TCP flashable ZIP's (please remove old one).
02.12.2013 : v5.4.0 released.
zRam is disabled as default again (this time for ever), for battery purpose at the cost of a bit less multitasking (if you want it again : just flash any zRam script).
"GENTLE_FAIR_SLEEPERS" disabled (back), should improve UI responsiveness.
Updated "zRam_disabled.zip" to match new zRam disabling as default (please delete old one).
28.11.2013 : v5.3.0 released.
zRam is now initialized by default once flashing the kernel with 600MB disksize and 100% swapiness. If you feel some lags, try different values with scripts (hope it will help people finding this kernel more smooth than default without it).
All zRam scripts has been reworked and updated (please delete olders and download latest ones). If you want to turn off zRam, this time you'll have to flash "zRam_disabled.zip" file.
zRam initialization is now using a custom busybox binary directly integrated in the kernel, it will avoid some people not having their zRam properly working due to some roms busybox which cannot execute 'swapon' shell command and with priorities.
- A little reminder : to check if your zRam is working, no more need to install Turbo zRam app, on a Terminal, write : "free" (if you see swap values, then zRam is working) or "cat /proc/swaps" (which will give you more informations on both 4 swap partitions).
- I would like to thanks personally my friend @Yank555 to help finding some zRam initialization problems.
Clic below to see older changelog ..
21.11.2013 : v5.2.0 released.
ramdisk : 'root helper' is back (same as v4.6.1).
Add several TCP congestion control modules :
- Westwood
- BIC
- HTCP
'cubic' TCP congestion will stay as default like stock. You can set your favorite congestion module via TricksterMOD app.
19.11.2013 : v5.1.0 released.
Enabled back: Persistent TRIM support for all partitions.
Enabled back: USB charging increased (to 900mA instead of 475 by default).
18.11.2013 : v5.0.0 released.
Total redesign again from Samsung update11 source.
Removed a LOT of tweaks (back to 'stock way' for real), battery life should be much better than before.
List of removed tweaks :
- Removed: NTFS support.
- Removed: CIFS support.
- Removed: NFS support.
- Removed: Reduced WiFi wakelock.
- Removed: Reduced battery-monitor wakelock timeouts.
- Removed: Proportional Rate Reduction for TCP.
- Removed: Network speed tweak.
- Removed: Decreased touch boost frequency (from 800 to 600Mhz).
- Removed: MMC : Fix the workqueue overload battery waste.
- Removed: MMC : Increased timeout limits for bad sdcards.
- Removed: Doubled min-max readahead.
- Removed: ipv4: save CPU cycles from "check_leaf()" (backport from Linux 3.8).
- Removed: Intelli memory writeback (0 when screen ON & 500ms when screen off).
- Removed: Higher random entropy.
- Removed: Enabled persistent TRIM support for all partitions.
- Removed: Dynamic FSync control (v1.2).
- Removed: Dynamic Screen Frequency Scaling capability (for ZZMoove governor).
- Removed: "GENTLE_FAIR_SLEEPERS" disabled.
- Removed: USB charging increased (to 900mA instead of 475 by default).
- Removed: "cpu_load_slope" correctly set.
- Removed: bcmdhd : Disabled multicast on suspend.
- Removed: AIO enabled (backport of Linux 3.6.x) and tweaked.
Some optimizations into litegx_defconfig.
Overall kernel size is now slightly lighter (again) than previous version.
17.11.2013 : v4.6.2 released.
ramdisk : Fixed zRam which was enabled at boot by default.
ramdisk : Modified 'root helper tweaks' (again) to remove many useless lines, which finally now finally looks like more as an 'init.d helper'.
ramdisk : Many useless files in 'sbin' folder has been removed to let only needed ones for 'root helper tweaks'.
Overall kernel size is now slightly lighter than before.
14.11.2013 : v4.6.1 released.
ramdisk : included 'root helper tweaks' from adam kernel but modified to fit the needs of LiteGX kernel only (removed build.prop and pegasusq governor tweaks).
10.11.2013 : v4.6.0 released.
Updated compilation toolchain Linaro GCC from 13.09 to 13.10 (20131014).
05.11.2013 : v4.5.6 released.
AIO enabled.
Backport AIO from Linux 3.6.x.
AIO tweak : Don't plug the I/O queue in do_io_submit().
03.11.2013 : v4.5.5 released.
Enabled "ARCH_POWER" to use 'arm_cpu_topology' power management features.
litegx_defconfig : Added "CONFIG_TOUCH_WAKE".
28.10.2013 : v4.5.4 released.
Disabled "GENTLE_FAIR_SLEEPERS" (should improve UI responsiveness).
27.10.2013 : v4.5.3 released.
"sched_mc_power_savings" set to aggressive value (2) by default.
17.10.2013 : v4.5.2 released.
Decreased touch boost frequency from 1000 to 600Mhz (should slightly decrease smoothness, but be a bit more battery friendly).
15.10.2013 : v4.5.1 released.
Increased touch boost frequency from 800 to 1000Mhz (should boost smoothness a bit without affecting much battery).
09.10.2013 : v4.5.0 released.
Kernel logging (linux printk) disabled (credits to @Lord Boeffla).
litegx_defconfig : disabled some more debug.
05.10.2013 : ZZMoove profiles updated.
All ZZMoove profiles updated to latest revision (thanks to @Yank555).
Removed "ZZMoove_LCDFreq_optimizations_removal.zip" and included it directly in "ZZMoove_Profiles_Cleaner.zip" instead.
Changed priorities into scripts for init.d : "S98" for every ZZMoove profiles and "S99" for LCDFreq optimizations, to override ones already included in S98 profiles.
Modified "LiteGX-KERNEL_full_cleaner.zip" to proper remove new "S98" profiles.
01.10.2013 : v4.4.4 released.
zRam is now disabled by default (to stay as stock as possible).
zRam : set default to 4 devices instead of 1 (resulting Turbo zRam app compatibility from @rlorange).
Removed all zRam scripts to create some new with 4x zRam swaps instead of single ones. Should be MUCH smoother than single zRam (not a single lag detected after hard use of few hours). As always, you can flash new zRam scripts without the need to delete anything from init.d, since it will do it automatically.
Please remember that all my provided scripts are NOT necessary. They are just here for confirmed people or those who wants to increase smoothness or battery life a bit. Stock flashing will always provide best balance. Don't worry, this kernel will always stays like I wanted to do it : a "flash-and-play" one firstly.
29.09.2013 : v4.4.3 released.
Changed default zRam swappiness value from 90% to 80%.
Restored Boeffla Sound v1.6.4 original work with saturation prevention, since it was useless to remove it (just select "Over-saturation Supress" in "Graphical Equalizer" in Boeffla Sound app).
29.09.2013 : v4.4.2 released.
Changed default zRam disksize and swappiness values from 200MB / 10% to 600MB / 90% (thanks to @Yank555 for the tips).
Added 3 new zRam scripts with 90% swappiness.
29.09.2013 : v4.4.1 released.
Updated compilation toolchain Linaro GCC from 13.08 to 13.09 (20130903).
27.09.2013 : some changement about scripts.
All "ZZMoove profiles" has been removed from post #1. You can grab now them directly at top of post #2.
Added several zRam profiles (300/600/800 MB disksize, and 80/100% swappiness) scripts.
Added a full cleaner ZIP for those who want to remove cleanly everything from this kernel and want to migrate to another one.
27.09.2013 : v4.4.0 released.
Introducing zRam (with stock values for the moment). Should increase performance. Use zRam & Swap Control (made by @rlorange) to set your values and make init.d scripts like you want; or directly use my scripts HERE.
zRam : added LZ4 compression and using it as default.
Activated native ExFAT support.
Now using "make mrproper" (instead of "make clean") to stay with local number #1 (thanks @googy_anas for the tips).
22.09.2013 : v4.3.5 released.
ipv4: save CPU cycles from "check_leaf()" (backport from linux 3.8) (thx @googy_anas).
22.09.2013 : v4.3.4 released.
Fixed Boeffla Sound saturation prevention which wasn't removed since v4.0.0 (sorry about this, just saw it).
21.09.2013 : v4.3.3 released.
Hotfix from v4.3.2 : added spica1234's missing line tweak about "persistent TRIM support".
21.09.2013 : v4.3.2 released.
Enabled persistent TRIM support for all partitions (credits to @spica1234).
Added automatic dalvik-cache wiping in kernel flashing procedure.
20.09.2013 : v4.3.1 released.
Updated "Touch-to-Wake" from 1.1 to v1.1a again.
18.09.2013 : v4.3.0 released.
Updated "Dynamic FSync control" from v1.1 to v1.2 again.
NTFS support.
NFS support again.
CIFS support again.
sched: LOAD_FREQ tweak (this time definitely) removed.
18.09.2013 : v4.2.0 released.
Fixed "Dynamic FSync control" which was not working ("dyn_sync_cntrl.c" file was missing).
CONFIG_SCHED_AUTOGROUP enabled again (smoothness should be back).
Added again : Intelli memory writeback (0 when screen ON & 500ms when screen off).
Added again : sched: LOAD_FREQ (4*HZ+122) avoids loadavg Moire.
Touch-to-Wake back from v1.1a to v1.1 for the moment.
15.09.2013 : v4.1.0 released.
Updated compilation toolchain to Linaro GCC 4.7 from 20130626 to 20130812.
USB charging increased back to 900mA (instead of 475 by default).
15.09.2013 : v4.0.0 released.
Total beginning from zero (clean update11 sources) again.
"Android OS" battery drain on top is now gone.
Kernel is now cleaner than before : almost everything has been made using git patches, and minimally manually.
Litest release ever (5,42 MB), smoothest and best battery friendly release ever too.
Releases will now be "x.x.x" (latest number for minor fixes/tweaks, the middle one for good ones, and the first one for major ones).
Removed a lot of tweaks since v3.6, which was useless or that I don't want to include anymore to stay as close as possible from stock. I prefered to let only important and relevant tweaks for now.
List of modified features :
CIFS / NFS support removed.
Intelli memory writeback removed.
AIO tweak: No plug I/O queue in "do_io_submit()" removed.
CONFIG_SCHED_AUTOGROUP is now disabled.
sched: LOAD_FREQ (4*HZ+122) avoids loadavg Moire removed.
Reverted USB charging from 900mA back to 475mA default value.
Reverted "Dynamic FSync control" from v1.2 to v1.1 from AndiP.
List of added feature :
ARM CPU Topology : many patches has been included about optimizations/fixes.
Thanks & greetings
★ THANKS & GREETINGS ★ :​
XDA board and community
Google
Samsung
CyanogenMod Team
gokhanmoral
Andreilux
wanam
spica1234
ZaneZam
Yank555
googy_anas
hardcore
AndiP
DONATIONS
★ DONATIONS ★ :​
Many thanks to @fuxmen ! :good:
Many thanks to @colingpt ! :good:
Thank you to support my work !
Thanks bro tested ( Pardus HD Rom MG6 v18 )
downloading and nandorid backing up
does the setting Stweak compatible ?
qtwrk said:
does the setting Stweak compatible ?
Click to expand...
Click to collapse
Sorry, no STweaks support for the moment, but planning to do it. Need to learn how to add the compatibility. Stay tuned.
Envoyé depuis un téléphone qui pique les yeux.
Great work. The S3 community is getting richer with you aboard congratulations!
UPDATE
UPDATE :​
16.08.2013 : v1.1 released.
ramdisk from XXEMF6.
Note : If you have a message before reboot in your recovery asking you to disable stock recovery flash, click yes to keep your custom recovery. I guess it's due to XXEMF6 ramdisk on which included a stock recovery flashing procedure with.
googy_anas said:
Great work. The S3 community is getting richer with you aboard congratulations!
Click to expand...
Click to collapse
Thank you mate, XDA is proud to have such great devs like you, and sharing to us kernels of your quality is such a chance that only a few people will understand this on this board :good:
My goal is to stay as stock as possible, so.. sorry but no competition with mine ! :laugh:
Cheers from France
UPDATE
UPDATE :​
18.08.2013 : v1.2 released.
Linux kernel branch from 3.0.91 (kernel.org).
Enjoy :good:
This kernel is amazing
I flashed it.
Will be kernel compiled with Linaro Toolchain?
Assa551N said:
This kernel is amazing
I flashed it.
Will be kernel compiled with Linaro Toolchain?
Click to expand...
Click to collapse
Glad you like it
Yeah, I will compile it using linaro toolchain soon (already tried but had some errors when compiling resulting an abort. Need to learn a bit more flags configuration for compiling, hehe) :good:
Stay tuned!
Androidgx nice work.
For linaro 4.6 and above you will require this patch https://github.com/AndreiLux/Perseus-S3/commit/71f536fb9957c64cc6274221faa056694e010616
After this you're good to go with Linaro toolchain
Sent from my GT-I9300 using xda app-developers app
spica1234 said:
Androidgx nice work.
For linaro 4.6 and above you will require this patch https://github.com/AndreiLux/Perseus-S3/commit/71f536fb9957c64cc6274221faa056694e010616
After this you're good to go with Linaro toolchain
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Thanks mate :good:
You write at the good moment, was currently trying to compile and learning how to compile right without errors using linaro gcc 4.7
I stay you tuned!
Androidgx,
This is the simple fsync which I wrote in 2012 which turns fsync on untill phone is booted and later after ,it"s booted it turns off fsync.
Plus the code has been optimized with branch prediction feature of cortexa-9 cpu by gcc accembly code and it does use cortex-a9 's preload engine (prefetch) to keep fsync state in L2 cache. Plus by branch prediction there is a less cpu overhead checking about whether fsync is on or off. It assumes fsync is off and with probable branch prediction it executes faster.
Below is the fsync as a patch which I wrote in mid 2012 for my older phone. You can use it .The basic fsync functional code is based on alrahi's code.
Simple Fsunc patch is here: http://db.tt/rdikFoKY
Sent from my GT-I9300 using xda app-developers app
AndroidGX said:
Thanks mate :good:
You write at the good moment, was currently trying to compile and learning how to compile right without errors using linaro gcc 4.7
I stay you tuned!
Click to expand...
Click to collapse
Linaro 4.8 is out. Try it as well
Sent from my GT-I9300 using xda app-developers app
spica1234 said:
Androidgx,
This is the simple fsync which I wrote in 2012 which turns fsync on untill phone is booted and later after ,it"s booted it turns off fsync.
Plus the code has been optimized with branch prediction feature of cortexa-9 cpu by gcc accembly code and it does use cortex-a9 's preload engine (prefetch) to keep fsync state in L2 cache. Plus by branch prediction there is a less cpu overhead checking about whether fsync is on or off. It assumes fsync is off and with probable branch prediction it executes faster.
Below is the fsync as a patch which I wrote in mid 2012 for my older phone. You can use it .The basic fsync functional code is based on alrahi's code.
Simple Fsunc patch is here: http://db.tt/rdikFoKY
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Thank tou very much mate, will try it tomorrow :good:
Just tried compiling with your link "Toolchain fixes regarding smc architecture extensions", and managed to almost compile the kernel without "-Werror" flag removed.
Here is where it stops :
Code:
CC drivers/video/samsung/mdnie_tunning.o
CC drivers/video/samsung/s3cfb_s6e8aa0.o
CC drivers/video/samsung/smart_dimming.o
CC drivers/video/samsung/s5p_dsim_lowlevel.o
CC drivers/video/samsung/s5p-dsim.o
LD drivers/video/samsung/built-in.o
CC drivers/video/samsung_extdisp/s3cfb_extdsp_main.o
CC drivers/video/samsung_extdisp/s3cfb_extdsp_ops.o
In file included from drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:32:0:
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c: In function 's3cfb_extdsp_check_var':
drivers/video/samsung_extdisp/s3cfb_extdsp.h:154:43: error: inlining failed in call to always_inline 'get_extdsp_global': function body not available
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:181:30: error: called from here
In file included from drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:32:0:
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c: In function 's3cfb_extdsp_set_par':
drivers/video/samsung_extdisp/s3cfb_extdsp.h:154:43: error: inlining failed in call to always_inline 'get_extdsp_global': function body not available
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:197:30: error: called from here
In file included from drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:32:0:
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c: In function 's3cfb_extdsp_open':
drivers/video/samsung_extdisp/s3cfb_extdsp.h:154:43: error: inlining failed in call to always_inline 'get_extdsp_global': function body not available
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:315:30: error: called from here
In file included from drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:32:0:
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c: In function 's3cfb_extdsp_release':
drivers/video/samsung_extdisp/s3cfb_extdsp.h:154:43: error: inlining failed in call to always_inline 'get_extdsp_global': function body not available
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:345:30: error: called from here
In file included from drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:32:0:
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c: In function 's3cfb_extdsp_blank':
drivers/video/samsung_extdisp/s3cfb_extdsp.h:154:43: error: inlining failed in call to always_inline 'get_extdsp_global': function body not available
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:387:30: error: called from here
In file included from drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:32:0:
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c: In function 's3cfb_extdsp_pan_display':
drivers/video/samsung_extdisp/s3cfb_extdsp.h:154:43: error: inlining failed in call to always_inline 'get_extdsp_global': function body not available
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:468:30: error: called from here
In file included from drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:32:0:
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c: In function 's3cfb_extdsp_ioctl':
drivers/video/samsung_extdisp/s3cfb_extdsp.h:154:43: error: inlining failed in call to always_inline 'get_extdsp_global': function body not available
drivers/video/samsung_extdisp/s3cfb_extdsp_ops.c:491:30: error: called from here
make[3]: *** [drivers/video/samsung_extdisp/s3cfb_extdsp_ops.o] Erreur 1
make[2]: *** [drivers/video/samsung_extdisp] Erreur 2
make[1]: *** [drivers/video] Erreur 2
make: *** [drivers] Erreur 2
[B][email protected] ~/projects/kernels/LiteGX $ [/B]
Any idea ?
Maybe another flag need to be removed ?
Androidgx,
Seems like this will solve it.
Open file drivers/video/samsung_extdisp/s3cfb_extdsp.h
Now goto line 154 and remove the word "inline" before struct declaration or add "static" before inline. Save file and try to compile back
Sent from my GT-I9300 using xda app-developers app
spica1234 said:
Androidgx,
Seems like this will solve it.
Open file drivers/video/samsung_extdisp/s3cfb_extdsp.h
Now goto line 154 and remove the word "inline" before struct declaration or add "static" before inline. Save file and try to compile back
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Thank you mate it worked almost perfectly after. Just faced the same problem as THIS guy before finishing compiling, followed exactly what he said (replacing the Makefile completely, and it worked, finally :laugh. I just hope it was the right way to do.
Currenty testing my fresh new kernel with linaro 4.7.4 gcc toolchain thanks to you.
Btw, about your fsync tips patch you send me, I have very poor knowledge, is this something really noticable in term of difference as stock ? I mean a good improvement over ?
Many thanks for your explanations :good:
does this kernel supports exfat sd cards ???

[KERNEL] [CM Port] [07 Oct] SkyHigh Kernel [v1.4] [Synapse ++]

[KERNEL] [CM PORT] [07 Oct] SkyHigh Kernel [R3_v1.4] [Synapse ++]
I only have so much free time, so I don't plan to update this kernel. I have other devices I tinker with and personally use.
I have given Devs who have publicly released their CM ROM's (as per GPL and XDA rules) and kernel sources on git, to use what I have done and adapt it to there needs.
This kernel is currently compatible and built for use with the CM ROM Port by @eousphoros. As I don't own or use a T700 WIFI device, I can't guarantee if this kernel will fix any issues or create more. Up to YOU to find out
I don't have time to build for any more devices I can't personally test & debug - sorry.
Let get it straight, I am not a real Developer, but I am UpInTheAir, former part time kernel “hack” of TW SM-T700/705/800/805, SM-N9005 LTE, SGT 7.7 JB & ICS Kernels. I now share with you my Exynos5 CM Port SM-T700 WIFI kernel compiled from official Samsung sources.
* I don't pretend to know everything, so if you can be constructive and help out this project, please do so. You will find allot of answers by searching gitHub, XDA and SEARCH Just like I do …......
>> SCREENSHOTS << from v0.5 : might not be always up-to-date !
CM SPECIFIC FIXES
✔ SELinux removed from kernel build
✔ MTP & PTP mounting
✔ Flip Cover working for supported covers
TWRP RECOVERY SPECIFIC FIXES
✔ Fixes unable to write to INTERNAL storage after restore using TWRP Recovery
FEATURES
✔ Based on official Samsung source: T700OPU1ANG2
✔ ramdisk source: CM ROM Port
✔ Built with Stock ARM Toolchain 4.7
✔ Compiled with KERNEL_MODE_NEON & -mfpu=neon-vfpv4 & hard float
✔ KNOX WARRANTY VOID: 1
✔ adb insecure
✔ init.d script support
✔ busybox v1.22.0-Dream-IRC installed to /sbin
✔ Synapse app support for almost all kernel configurations + more !!
Many descriptions are in the app ! If you require more info, don't be lazy, please SEARCH like I did !
SYNAPSE FEATURES
CPU
CPU max frequency A15 cores = 2100 MHz (stock/default = 1900 MHz)
CPU min frequency A7 cores = 200 MHz (stock/default = 500 MHz)
Multi-core power saving control (sched_mc_power_savings)
CPU VOLT
Voltage control for:
big cores
LITTLE cores​
GOV
CPU governor
interactive (default)
on-demand (tweaked to use power efficient workqueues)
conservative​
CPU governor tunables
MEMORY
I/O Schedulers
BFQ (default - tweaked for SSD)
DEADLINE (tweaked for SSD)
CFQ
NOOP
FIOPS
SIO
ZEN​
General IO tuneable
Int storage scheduler
Int storage read-ahead (1024 KB for 16 GB partition)
Kernel SamePage Merging (KSM)
Pages to Scan
Scan delay interval
Deferred Timer control​
Virtual Memory
VNSWAP control
ZSwap memory pool control
Dirty Background Ratio
Dirty ratio
Swapiness​
INT/MIF
CPU internal frequency voltage control (MHz)
133 - 222 - 333 - 400 - 440 - 460 - 480 - 500 - 600​
Memory frequency voltage control (stock max = 733 MHz)
160 - 200 - 266 - 400 - 533 - 667 - 733 (1.9 GHz) - 800 (2.0 GHz) - 933 (2.1 GHz)​
GPU
GPU max frequency = 667 MHz (stock/default = 480 MHz)
GPU min frequency = 100 MHz (stock/default = 177 MHz)
GPU voltage control
POWER SUSPEND
PowerSuspend
Autosleep_hook
Userspace_trigger
DisplayPanel_hook
Hybrid_hook (default)​
PowerSuspend State (only with Userspace_trigger)
Dynamic Fsync control (default enabled)
Dynamic management of dirty page writebacks
Adaptive VFS Cache Pressure on Suspend / Resume
ADVANCED
Low Memory Killer (OOM LMK)
Management of not killable processes whitelist
system apps
user apps​
Entropy
Gentle Fair Sleepers control
randomize_va_space control
THERMAL
CPU thermal control
GPU thermal control
Memory interface thermal control
AUDIO
* WolfsonMicro WM5102 sound control by AndreiLux
Mono output
HeadPhone equalizer settings
BATTERY
Unstable power detection
AC mains
Standard downstream port
Dedicated charging port
Charging downstream port
Accessory charger adapter
Miscellaneous charging
MHL power
Battery Scaling Calibration (fuel-gauge chip reset)
NETWORK
TCP congestion control
All available enabled.
Default = westwood+​
WiFi Power Mode While Screen-On/Off
WiFi DTIM Interval While Screen-On/Off
tcp_default_init_rwnd
TCP/IP network security
TCP/IP network speed
GPS region
Default, Asia, Europe, Oceania, North America, South America, Africa​
USB
UMS (USB Mass Storage) mode
MTP mode
USB Keyboard / Mouse (with USB Keyboard app)
BACKUP & RESTORE
Restore - Delete - Backup
kernel
profile​
REBOOT
Reboot device
Recovery Mode
Download Mode
Power Off
Clear Synapse Data
FS (File System)
Display FS Type
FS Controls
remount System R/W R/O
remount RootFS R/W R/O
Maintenence
optimise databases (SQLite3)​
LOGS
Android logger control (disabled)
logcat
dmesg
last_kmsg
✔ xz kernel compression
✔ Reduced logging
✔ enable ARCH_POWER
✔ use WQ_POWER_EFFICIENT
✔ optimized SLUB memory allocator
✔ Frandom
✔ mount partitions NOATIME and NODIRATIME by default
✔ FIDTRIM
✔ F2FS support in source and ramdisk (not tested)
✔ exFAT FS support
✔ NTFS R/W support with app
✔ CIFS support
✔ Asynchronous Fsync
✔ WIFI: filter multicast packages while suspended
✔ /proc/.config.gz support
CREDITS
* My family !!
* BeansTown106 & Chainfaire - root
* halaszk88 - initial sysnapse layout & source commits
* AndreiLux - many many contributions to Exynos kernel development & Synapse app
* eousphoros - Initial CM ROM Port
* apbaxel - various synapse controls I've adapted
* faux123 - various patches
* Yank555 - various patches
* XDA
* Samsung OSRC
* and many others!
* check github source credits
* IF I'VE FORGOTTON ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS
XDA:DevDB Information
Samsung Galaxy Tab S - CM Port Kernels, Kernel for the Samsung Galaxy Tab S
Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/SM-T700-kernel-T700OPU1ANG2/tree/SkyHigh_CM_Port
Kernel Special Features: Synapse ++
Version Information
Status: No Longer Updated
Current Stable Version: v1.4
Stable Release Date: 2014-10-07
Created 2014-09-07
Last Updated 2014-12-21
Requirements - installation & download
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU, GPU or other hardware
* Any customizations may void warranty
* May not be suitable for your device or customizations
* UpInTheAir is NOT responsible, the person you see in the mirror is !
REQUIREMENTS
Watch >> THIS <<
SM-T700 WIFI Exynos device
[UNOFFICIAL][PORT][ROM] Blck/Cyanogenmod 11 (Android 4.4.4) SM-T700 16gb
Rooted
TWRP Recovery or other suitable custom recovery
CHANGE-LOG
v1.4 [07-Oct-2014]
ramdisk :
init.rc: remove Gentle Fair Sleepers boot default - now disabled by default in source
synapse: Backup Restore: fixed bug not backing up & restore current kernel
synapse: FS: add push button to Optimise Databases (SQLite3)
synapse: USB: add Storage Mode MTP & UMS (USB Mass Storage) control (if MTP doesn't mount storage properly on PC, just toggle between Default > MTP )
synapse: USB: USB Keyboard control
synapse: INT/MIF voltage control
synapse: various other layout changes and descriptions etc
kernel :
xz: tweaking kernel compression
af_unix: speedup /proc/net/unix
sched: disable GENTLE_FAIR_SLEEPERS by default
mm: don't wait for congestion when mem is high
block: disable add_random for more performance on SSD's
fs/dyn_sync_cntrl: on by default if enabled in defconfig
mmc: disable CRC check for better performance
mm: optimize Kernel Samepage Merging (KSM)
Input: send events one packet at a time
lib/int_sqrt.c: optimize square root algorithm
readahead: make context readahead more conservative
gpu: ion: system_heap: add support for 2MB allocations
CHROMIUM: clocksource: allow clocksources to be selected earlier during boot
EXYNOS5420 MIF: unlock MIF 933 MHz & set for CPU 2.0+ GHz freq
opp: De-obscurify OPP structs and disclose find_device_opp
devfreq: add Exynos 5420 MIF voltage control
devfreq: add Exynos 5420 INT voltage control
MIF / INT fix
MIF / INT: allow 6250 mV increments
EXYNOS5420 MIF: set 800 MHz for CPU 2.0 GHz freq
workqueue: fix permission for power_efficient
v1.3 [21-Sept-2014]
ramdisk :
init.rc: set defaults: removed KSM deferred_timer as now set enabled in source
synapse: Network: tcp_default_init_rwnd (not sure how to tune the value yet)
synapse: Reboot: added Power Off option
kernel :
arch/arm/Makefile: adaptation to full neon-vfpv4 support
sched: GENTLE_FAIR_SLEEPERS fix unused cpu var
drivers/staging: configurable android log buffer sizes
config: set LOGCAT_SIZE=256
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
bfq-iosched: tuning for SSD
ksm: check and skip page, if it is already scanned
config: enable KSM_CHECK_PAGE
config: enable Conservative & disable Userspace governor
block: Reserve only one queue tag for sync IO if only 3 tags are available
setlocalversion: do not append -dirty when there are un-committed changes
kswapd: reduce time spent in congestion_wait
workqueue: add system wide power_efficient workqueues (battery)
config: enable WQ_POWER_EFFICIENT (battery)
CPUFREQ: ondemand: use power efficient wq (battery)
mutex: Make more scalable by doing less atomic operations
mutex: Queue mutex spinners with MCS lock to reduce cacheline contention
writeback: fix writeback cache thrashing
sched: Make scheduler aware of cpu frequency state
bcmdhd4354: filter multicast packages while suspended (battery)
tcp: add a sysctl to config the tcp_default_init_rwnd
net: tcp: optimization with rcv_wnd
vfp/Makefile: compile with -mfpu=neon-vfpv4 & hard float
slub: optimized SLUB memory allocator
net: loopback: set default mtu to 64K
ksm: enable deferred_timer by default to prevent the CPU to be wakened for ksm activities
ext4: add support for FIDTRIM, a best-effort ioctl for deep discard trim (no idea if it's working)
Report permissive mode in avc: denied messages
config: disable mutex debugging
v1.2 [11-Sept-2014]
ramdisk :
init.rc: set defaults: Dynamic FSync enabled
kernel :
ARM: implement KERNEL_MODE_NEON
config: enable KERNEL_MODE_NEON
Makefile: added ccache for speed up kernel compile
sync: don't block the flusher thread waiting on IO
staging: android: lowmemorykiller: select a new task to kill
fix compile warning for Async Fsync
arm/crypto: add optimized AES and SHA1 routines
config: enable CRYPTO_SHA1_ARM & CRYPTO_AES_ARM
softirq: reduce latencies
ext4: speed up truncate/unlink by not using bforget() unless needed
mm: Clear page active before releasing pages
v1.1 [08-Sept-2014]
ramdisk :
synapse: USB: remove UMS & USB keyboard/mouse controls (causing issues I need to look at when have motivation)
kernel :
gpio_keys: add flip cover wake/suspend event
gpio_keys: fixed gpio flip-cover
v1.1 [08-Sept-2014]
ramdisk :
synapse: USB: remove UMS & USB keyboard/mouse controls (causing issues I need to look at when have motivation)
kernel :
gpio_keys: add flip cover wake/suspend event
gpio_keys: fixed gpio flip-cover
Initial v1.0 release [08-Sept-2014]
* All source and ramdisk mods synced with T700/705 TW build
kernel :
config: disable DEFERRED_INITCALL
add a runtime dependency checkerS for compile
Compile stock and Samsung MTPs together
config: disable SELINUX
INSTALLATION
Watch >> THIS <<
Uninstall any CPU control apps, tweaks and scripts etc.
Recommend: Install Wanam DVFS disabler for greater kernel control
Recommend: Backup your current kernel with TWRP Recovery
Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
Flash with TWRP Recovery
Any issues, please check Posts #1-3 and search the thread BEFORE posting
DOWNLOAD
8.4" TF700 WIFI EXYNOS
>> SkyHigh CM Port T700 WIFI kernel <<
>> ORIGINAL "Stock" CM Port T700 WIFI kernel <<
SOURCES
>> SkyHigh kernel: UpInTheAir github <<
>> Original "Stock" kernel: eousphoros github <<
.
HELP & FAQ
HELP & FAQ
"SYNAPSE BOOT CANCELLED"
Wait for the kernel to stabilize and device to cool
Open synapse app
Synapse app menu > select all globally > undo > apply ✔
Re-boot
If still issues > try again after #1
Still issues > Manually set config after boot (open synapse app > syanapse app menu > settings > disable apply on boot)
ISSUES
Uninstall any CPU control apps, tweaks and scripts etc.
Install Wanam DVFS disabler for greater kernel control
Flash kernel
Boot and allow things to stabilize
Open Synapse & tap :
"understood" message about unstable boot
"select all globally"
"undo" button
"apply" ✔
Reboot and ensure "synapse boot completed" toast message
You should be good to go
BOOT-LOOP
Power off & let device cool
Wipe cache & dalvik-cache in recovery (if custom recovery)
Re-flash kernel
Re-boot
Let things stabilize and cool before touching anything
BETTER BATTERY LIFE
There are no best settings. User "HABIT" is #1 cause of battery drain, followed by screen, ROM & apps, modem etc
This kernel is built to be balanced with a good mix of battery whilst keeping performance
Decrease screen brightness
Use dark wallpapers and app themes
Check your wakelocks with better battery stats app & use Greenify app to stop unwanted apps self starting and running in the background
Suggest:
CPU governor = ondemand (tweaked for power efficient workqueues)
CPU 200-1900 MHz -25 mV
GPU 100-480 MHz -50 mV (100 MHz may induce some GUI sluggishness)
PowerSuspend Driver = Enable
Dynamic FSync = Enable
Dirty Page Writeback = Enable
CPU Multicore Power Saving = (2) Agressive
BETTER PERFORMANCE
Disable DVFS with [APP][Android 4.0+][DVFS Disabler]
Warmer device under heavy load, but within the safe CPU temp of 95 degC
HOW TO BACKUP YOUR STOCK KERNEL BEFORE FLASHING SkyHigh KERNEL
Boot into TWRP Recovery
Select Backup
Select "[X] Boot" only (boot.img/kernel)
Select Storage > Micro SD (if external sdcard installed) > OK
Swipe to backup
CAN I USE OTHER KERNEL CONTROL APPS
No, many features and options won't be available. Remove all other control apps to avoid conflicts !
Synapse is the recommended and has everything you need
HOW TO MONITOR LIVE CPU & GPU VALUES
CPU load & freq - available RAM - GPU freq - CPU temp - most resource intensive process
[APP][2.1+] Cool Tool
Download my personal cooltool_presets > unzip & copy folder to INTERNAL sdcard. If you have cool tool app already running, you must disable > overwrite existing folder > enable
LITTLE CORE CPU FREQUENCY
Real frequency is apparently double that reported by other apps
Example: min 200 MHz (real) in Synapse is reported as 100 MHz in SetCPU
RANDOM REBOOT
Don't UV or UC CPU or GPU
Use SkyHigh defaults
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place (Thanks to XDA) - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE
DO NOT KILL PROCESSES
This feature allows the user to define processes and system processes white-lists filled with the preferred process names and to not be killed by lowmemorykiller, unless it is absolutely necessary.
When a the lowmemorykiller needs to free ram, it will first kill the processes not included inside the two process name lists chosen by the user.
If there are no more standard killable processes, then it will be necessary to kill one of the processes included inside one of the two white-lists, to prevent system hangs, slowdowns, etc.
You can find the [SkyHigh/Synapse] folder on your internal sdcard and add one process name per line. Lists updated on reboot.
Max 25 processes
Example only:
Code:
com.ea.games_r3_row
com.quoord.tapatalkxda.pre.activity
DYNAMIC MANAGEMENT OF DIRTY PAGE WRITEBACKS
* [Christopher83]
This feature allows to have two different intervals for dirty page
writebacks and to dynamically manage them when the system has been
resumed (it's active) or when has been suspended.
Three new procfs parameters are exposed inside /proc/sys/vm path:
- dynamic_dirty_writeback is the activation status of this feature,
set 1 to enable it, set 0 to disable it and use the standard behaviour
- dirty_writeback_active_centisecs is the interval for the dirty page
writebacks when the system is active (screen on)
- dirty_writeback_suspend_centisecs is the interval for the dirty page
writebacks when the system is suspended (screen off)
This feature is in part inspired on Francisco Franco's patch:
https://github.com/franciscofranco/mako/commit/34d79548cf16b69c7d0154836018e7f258a22947
Click to expand...
Click to collapse
BACKUP & RESTORE
If the backup isn't visible, reboot device and ensure for have "synapse boot completed" message. Otherwise synapse won't read the file.
Reboot after applying your new settings
Read "ISSUES" & "SYNAPSE BOOT CANCELLED" above
TCP/IP NETWORK SECURITY
* Thanks to zeppelinrox & V6SuperCharger
Hardening the TCP/IP stack to SYN attack
Bump up tw_buckets in case we get DoS'd
Ignore pings
Don't cache connection metrics from previous connection
Don't pass traffic between networks or act as a router
Enable spoofing protection (turn on reverse packet filtering)
Don't accept source routing
Don't accept redirects
- Further reading:
http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening
http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
SEGMENTATION FAULT
I don't believe it's kernel related, but rather busybox
Try uninstall your ROM busybox with this app. https://play.google.com/store/apps/details?id=stericson.busybox and reboot.
Re-flash kernel
Use the busybox that comes with the kernel located in /sbin
Also try to update your SuperSu and su binary if it asks and reboot.
USB KEYBOARD / MOUSE
Base project: https://github.com/pelya/android-keyboard-gadget
Required app: USB KEYBOARD
For best results, enable & use Hacker's Keyboard
Steps:
Ensure device USB debugging
Connect device to system via USB cable
Enable in Synapse > USB > USB Keyboard / Mouse >> Enable & apply
Start USB KEYBOARD app
..
Thanks for the hard work, @UpInTheAir! In coming from the debloated stock rom and your other SkyHigh Kernel should I wipe everything, flash this Kernel and then the CM ROM? Or should I flash the stock kernel, CM Rom, set it up, then flash this kernel?
v1.0 released
R3_v1.0 kernel is now released for T700 WIFI CM Port ROM for supported 8.4" models
Change-log is in Post #2.
Ensure you flash the kernel for your device model !!
NOTE: commit credits are in source.
If you have Synapse issue after UPGRADING, please force stop app and delete Synapse data/cache first
Further instructions in Synapse app & Posts #1-3
BUG: Synapse: GPS tweaks not available (ROM permission error.)
Enjoy :good:
Cheers,
UITA
.
DjRashonal said:
Thanks for the hard work, @UpInTheAir! In coming from the debloated stock rom and your other SkyHigh Kernel should I wipe everything, flash this Kernel and then the CM ROM? Or should I flash the stock kernel, CM Rom, set it up, then flash this kernel?
Click to expand...
Click to collapse
Please read Post #2 REQUIREMENTS section again. First User post is ROM related...........
I have nothing to do with the ROM, and User should read the ROM thread for instructions on how to flash that.
Personally I would.
1. Make Titanium backup saved to external sdcard
2. Make full TWRP backup and saved to external sdcard
3. Format: system, data, cache, internal storage (just to make sure)
4. Flash CM ROM Port
5. Boot device
6. Reboot & flash SkyHigh CM Port kernel
UpInTheAir said:
Please read Post #2 REQUIREMENTS section again. First User post is ROM related...........
I have nothing to do with the ROM, and User should read the ROM thread for instructions on how to flash that.
Personally I would.
1. Make Titanium backup saved to external sdcard
2. Make full TWRP backup and saved to external sdcard
3. Format: system, data, cache, internal storage (just to make sure)
4. Flash CM ROM Port
5. Boot device
6. Reboot & flash SkyHigh CM Port kernel
Click to expand...
Click to collapse
Thanks! Was just rereading your thread and saw that thanks mucho! I'll be giving this a run and looking forward to synapse con CM!
Flip cover
FLIP COVER now working for supported covers !! :highfive: Will be in next release
Tested with official Samsung Flip cover:
Open = screen ON
Close = screen OFF
Before you ask: NO, I don't know how to make this support non-official Flip Covers Patches and work-arounds on other devices don't work
Nice, looking forward to regaining that function on the book cover.
kenkiller said:
Nice, looking forward to regaining that function on the book cover.
Click to expand...
Click to collapse
I just stumbled upon a couple patches and gave them a try :good:
v1.1 released
R3_v1.1 kernel is now released for T700 WIFI CM Port ROM for supported 8.4" models
Change-log is in Post #2.
Ensure you flash the kernel for your device model !!
NOTE: commit credits are in source.
If you have Synapse issue after UPGRADING, please force stop app and delete Synapse data/cache first
Further instructions in Synapse app & Posts #1-3
BUG: Synapse: GPS tweaks not available (ROM permission error.)
Enjoy :good:
Cheers,
UITA
.
The case functionality worked beautifully. Thanks!
On 2 occasions when quickly opening and closing the case, the power menu came up.
No biggie, went away after closing the case. Even the speed that the screen came on is noticeable faster than on stock rom.
kenkiller said:
On 2 occasions when quickly opening and closing the case, the power menu came up.
No biggie, went away after closing the case. Even the speed that the screen came on is noticeable faster than on stock rom.
Click to expand...
Click to collapse
That happened to me once, thought I may have bumped a button..... Obviously not. Edit: can't re-confirm anything, because I'm back to TW
The stock ROM is a lot heavier and more indepth features to resume. There is actually code that can be tweaked for delay in open/close, but I'm not going to fiddle with it. It seems about right. Also the PowerSuspend driver can affect the resume delay too. There are notes in the github commits by Yank.
v1.2 released
R3_v1.2 kernel is now released for T700 WIFI CM Port ROM for supported 8.4" models
Change-log is in Post #2.
Ensure you flash the kernel for your device model !!
NOTE: commit credits are in source.
If you have Synapse issue after UPGRADING, please force stop app and delete Synapse data/cache first
Further instructions in Synapse app & Posts #1-3
BUG: Synapse: GPS tweaks not available (ROM permission error.)
Enjoy :good:
Cheers,
UITA
.
Nice kernel. Do you find this increases battery life. Battery life is bad right now on cm11
SS2006 said:
Nice kernel. Do you find this increases battery life. Battery life is bad right now on cm11
Click to expand...
Click to collapse
I don't own a T700 or use CM. I only flashed to my T705 to ensure it booted and kernel functions work.
Who knows about battery. ... The kernel has options exposed for users to tweak how they wish. I can't do any more than this.
Ill try and update this kernel in the next day or so. Just had enough for the moment
I own a T705.
I followed the procedure and although the system booted and the kernel seems to be flashed correctly (at least from what I can see from the info tab under settings), it seems that I lost root. Synapse doesn't work (as it says I have no root).
Now I'm trying to root again and see what happens..
EDIT: Rooting was unsuccessful
Kwbmm said:
I own a T705.
I followed the procedure and although the system booted and the kernel seems to be flashed correctly (at least from what I can see from the info tab under settings), it seems that I lost root. Synapse doesn't work (as it says I have no root).
Now I'm trying to root again and see what happens..
EDIT: Rooting was unsuccessful
Click to expand...
Click to collapse
Not a kernel problem.....
Read the ROM thread. You need to re-root
My procedure I did was prior to a most recent ROM release where root had been removed.

Categories

Resources