[KERNEL] [G800F/M/Y] Spookcity_Kernel-N (For all 7.x custom ROMS) - Galaxy S5 Mini Original Android Development

Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, DO NOT
* point the finger at me for messing up your device.
* this kernel is only for the S5 mini SM-G8OOF/M/Y (Exynos) Do Not Flash this on any other device!
*/
19-10-2017 * Updated to v6.0 * Changes are in red or can be seen at the bottom of this post in the changelog: I am always applying patches to hopefully improve the kernel,so check out the "Patches and tweaks applied" section for a better view of the changes as well.
Notes​
ALWAYS read the "Known Issues" section before flashing. I will add issues I have noticed or have been told about. Some may be VERY important. If you fail to do this and experience an issue that is listed I can not help you!
SELinux is set to permissive in this kernel. You can change this to enforcing at boot if you wish via an app like Kernel Adiutor-Mod
About voltage control: Setting frequencies that are unstable are going to cause lockups,freezes and reboots. This is NOT a fault in the kernel. My suggestion is to move the voltages up or down slowly (+/- 25) until you find some stable voltages that you're happy with.
Enough people were having problems with the 1.6ghz overclocked version that I've decided to release a non overclocked (1.5ghz) build as well. I would recommend trying the 1.6ghz and only if you experience a bootloop or instability then use the 1.5ghz version. I will not keep older versions of the 1.5ghz build up. Only the latest.
Having troubles deciding on a CPU governor or an I/O scheduler? Here is an amazing guide. All credits to Saber. Be sure to hit the thanks button. He obviously put a lot of time into that.
Features
Based on the latest Samsung kernel sources
Built an updated Sqlite3 (from version 3.9.2 -> 3.19.3 that will be pushed along with the kernel install (you can verify this by running "sqlite3 --version" in a terminal emulator before the new kernel install and then again after)
Compiled with self-built (ct-ng) UBERTC 8.0
Patched Linux to latest 3.4.113
Used anykernel2
Unlocked CPU frequencies: 200MHZ and 300MHZ
GPU overclocked to 600MHZ
CPU Overclocked to 1.6GHZ
CPU voltage control ( Max voltage =1500mV. Min voltage =600mV)
DriveDroid support (add sysfs entry for cdrom to LUNs)
Implemented zen-tune v4.5
Added CPU boost driver
Added PIE net scheduler
Added support for USB keyboards (You need This app)
Reduced vm_swappiness from 60 to 20
Added I/O scheduler switcher by sultanxda (changes the I/O scheduler for a specified request queue to Noop when the screen turns off in order to improve power consumption while the screen is off)
Added Fsync on/off
Added dynamic fsync
Added Dynamic management of dirty page writebacks (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 - Not adjustable via Grarak's Kernel Adiutor app)
Proc: much faster /proc/vmstat
Full CIFS support ( Modules will be pushed with kernel install )
Introduced new flag WQ_POWER_EFFICIENT for power oriented workqueues ( Allows for power saving if selected in Kernel Adiutor ETC. )
Added /dev/frandom support ( It is yet to be implemented properly yet however )
Properly enabled faux123's powersuspend v2.5
Fading LED's
Enabled graphite
Enabled AIO
Readahead set to 512 (from 128 default)
Reverted "Enabled arch power" (There will be a switch to enable/disable this in the next build)
Many build flags for optimization
Added optimization flags for the GPU
Many more features being worked on and coming soon
Added CPU governors
- nightmare
- wheatley
- zzmoove
- dancedance
- darkness
- hyper
- lionheart
- ondemandplus
- bioshock
- pegasusq
- smartmax
- alucard (by alucard24)
- bluactive
- intelliactive (by faux123)
- intellidemand
Added CPU hotplug governors
- alucard hotplug (by alucard24)
- intelliplug hotplug (by faux123)
- thunderplug hotplug (by varun.chitre15)
- MSM Sleeper hotplug
- autoSMP hotplug
Added IO schedulers
- fiops
- sio
- zen
- fifo
- tripndroid
- bfq-v7r8
Added many TCP congestions
- reno
- vegas
- westwood and more
- Added the rest of the TCP congestions
- Westwood is now default TCP
Patches and tweaks applied include:
- Updated ARM topology and added cpu_power driver
- Input: Improve the events-per-packet estimate
- block/partitions: optimize memory allocation in check_partition()
- block: bfq-iosched: tuning for SSD (thanks to anarkia1976)
- cpufreq: Move get_cpu_idle_time() to cpufreq.c (This is important for CPU governors to work better/more efficiently with our kernel version-3.4)
- Fixed all the CPU governors to work properly with the Move get_cpu_idle_time
- cpufreq: Introduce new relation for freq selection (It selects the frequency with the minimum euclidean distance to target. In case of equal distance between 2 frequencies, it will select the greater frequency)
- cpufreq: conservative: Set MIN_LATENCY_MULTIPLIER to 20
- cpufreq-ondemand-Set-MIN_LATENCY_MULTIPLIER-to-20
- cpuidle-Get-typical-recent-sleep-interval
- cpufreq: Persist cpufreq time in state data across hotplug
- implement-LoUIS-API-for-cache-maintenance-operations
- ARM-kernel-update-cpu_disable-to-use-cache-LoUIS-maintenance API
- update-v7_setup-to-the-new-LoUIS-cache-main
- USB-gadget Optimize-tx-path-for-better-performance
- af_unix: speedup /proc/net/unix
- net/socket.c: fix: warning: 'sock/sock1/sock2' may be used uninitialized in this function
- fs/proc/array.c: make safe access to group_leader
- lib/memcopy: use glibc version (the kernel's memcpy and memmove is very inefficient. But the glibc
version is quite fast, in some cases it is 10 times faster than the kernel version)
- lib/string: use glibc version (same as above)
- lib/int_sqrt.c: optimize square root algorithm
- readahead: make context readahead more conservative
- sched-Fix-select_idle_sibling-bouncing-cow-syndrome
- sched-Implement-smarter-wake-affine-logic
- sched-Micro-optimize-the-smart-wake-affine-logic
- sched: Reduce overestimating rq->avg_idle
- power: make sync on suspend optional
- tcp: tweaked for speed
- writeback-fix-occasional-slow-sync
- writeback-fix-writeback-cache-thrashing
- wireless - bcmdhd - reduce scan dwell time to reduce power usage
- bcmdhd reduce wakelocks
- mutex-Queue-mutex-spinners-with-MCS-lock-to-reduce-cc
- mutex-Make-more-scalable-by-doing-less-atomic-operations
- ARM-use-generic-unaligned.h
- Kconfig-enabled-unaligned-capability-for-ARM
- decompressor-Enabled-unaligned-memory-access
- Optimized-ARM-RWSEM-algorithm
- ARM: Fixed negative idle stats for offline cpu
- disabled debugfs[/COLOR]
- mm: remove noisy remainder of the scan_unevictable interface
CONFIG_HZ=100 (reverted commit)
- Plus many more - Check my git repo for full details.
Sources
Kernel Source
Toolchain Source
Click to expand...
Click to collapse
Known Issues
Setting alucard hotplug along with certain other governors at boot via kernel adiutor etc can cause a reboot after setting is applied. So be certain to set the "delay" time in kernel adiutor or similar to 10 seconds or more,so if you have this you are able to cancel and change after a reboot.
There is a chance of some settings being reset after flashing the kernel (quick setting,sound,statusbar etc.) This is rather insignificant and all settings that have been changed can be set back in minutes.
Click to expand...
Click to collapse
Installation
I HIGHLY recommend that you do a full backup before flashing this kernel. I am not responsible if you lose any or all of your data.
1.Download "Spookcity_Kernel-N"
2.Place the zip onto your phones storage
3.Reboot into recovery (Volume-Up + Home + Power button)
4.Select install
5.Flash the downloaded kernel
6.Go back a few times in TWRP Select wipe -> Advanced wipe and wipe Dalvik/Art cache and the cache partition.
If you do not do this you are very likely to experience strange issues.You have been warned.Do not report problems if you did not do this.
7.Reboot
Click to expand...
Click to collapse
Code:
Feedback can also be posted[URL="https://github.com/Spookcity/ROMS-G800F/issues/12"]-------> Here[/URL]
Test builds will be released [URL="https://github.com/Spookcity/ROMS-G800F/issues/22"]-------> Here[/URL]
Download the latest build
Spookcity_Kernel-N-v6.0
Spookcity_Kernel-N-v6.0-1.5GHZ Version
Click to expand...
Click to collapse
Download older version
Code:
[URL="https://www.androidfilehost.com/?fid=745425885120759188"]Version 5.0[/URL]
[URL="https://www.androidfilehost.com/?fid=889764386195920916"]Version 4.0[/URL]
[URL="https://www.androidfilehost.com/?fid=673368273298972709"]Version 3.0[/URL]
[URL="https://www.androidfilehost.com/?fid=889764386195913162"]Version 2.0[/URL]
[URL="https://www.androidfilehost.com/?fid=889764386195911617"]Version 1.0[/URL]
Huge credit and many thanks to:
Hennymcc,Ayke,Psyafter,mirhciulica,ctxZ,DjSteve,CurtisMJ,osm0sis,Archidroid,Chet Kener,andip71,faux123,flar2,ZaneZam,anarkia1976,AndreiLux,Yank,Francisco Franco,Sultanxda,varun.chitre15
Big thanks for testing and giving feedback:
Oleggluk,StanleyNL,Mikahlo,Guntzog
and any others as I'm sure I am forgetting people.
CHANGELOG
HTML:
01-09-2017 - Released Version 6.0
- Added MSM Sleeper hotplug
- Reduced vm_swappiness from 60 to 20
- Added intellidemand governor
- Added autoSMP hotplug
- Added CPU boost driver
- Proc: much faster /proc/vmstat
- Cpufreq: Persist cpufreq time in state data across hotplug
- Reverted "enable arch power"
- mm: remove noisy remainder of the scan_unevictable interface
- net/socket.c: fix: warning: 'sock/sock1/sock2' may be used uninitialized in this function
01-09-2017 - Released Version 5.0
- Removed ROW I/O scheduler
- Added I/O scheduler switcher by sultanxda
- Added PIE net scheduler
- Added support for USB keyboards
- Properly enabled faux123's powersuspend v2.5
- Added dynamic fsync
- Added optimization flags for the GPU
- Enabled AIO
- Reverted a couple of HZ related commits
- Added intelliactive governor
- Added intelliplug hotplug driver
- Added thunderplug hotplug driver
- Added Dynamic management of dirty page writebacks
- Fixed voltage control on 1500MHZ version
- Fixed alucard governor
- Fixed ondemandplus governor
- Fixed bluactive governor
- ib/int_sqrt.c: optimize square root algorithm
- af_unix: speedup /proc/net/unix
- wireless - bcmdhd - reduce scan dwell time to reduce power usage
- bcmdhd reduce wakelocks
- readahead: make context readahead more conservative
- block/partitions: optimize memory allocation in check_partition()
- power: make sync on suspend optional
- block: bfq-iosched: tuning for SSD
05-08-2017 - Released Version 4.0
- Added 1.5GHZ version
- Added voltage control
- DriveDroid support
- Implemented zen-tune v4.5
- Full CIFS support
- Introduce new flag WQ_POWER_EFFICIENT for power oriented workqueues
- Added Fsync on/off
- Added ROW I/O sheduler
- Added BFQ-v7r8 I/O scheduler for 3.4 kernel
- Added Blu_active CPU governor
- block: disabled add_random
- tweaked build flags
- many workqueue related patches
- tcp: tweaked for speed
- CONFIG_HZ=300
- fs/proc/array.c: make safe access to group_leader
- disabled debugfs
19-07-2017 - Released Version 3.0
-GPU overclocked to 600MHZ
-Updated Sqlite3 to version 3.19.3 from 06-08-2017
Added CPU governors
-bioshock
-pegasusq
-smartmax
-alucard
-alucard hotplug
-Added the rest of the TCP congestions
-cpufreq: Move get_cpu_idle_time() to cpufreq.c
-Fixed all the CPU governors to work properly with the Move get_cpu_idle_time
-Added /dev/frandom support
-cpufreq: Introduce new relation for freq selection
-lib/memcopy: use glibc version
-lib/string: use glibc version
-
03-07-2017 - Released Version 2.0
-GPU overclocked to 533MHZ
Added CPU governors
-dancedance
-darkness
-hyper
-lionheart
-ondemandplus
Added IO schedulers
-fifo
-tripndroid
Added many TCP congestions
-reno
-vegas
-westwood
-etc.
26-06-2017 - Fix "unsupported device" when flashing in TWRP 3.1.1.0
23-06-2017 - Initial release
Enjoy!
XDA:DevDB Information
[KERNEL] [G800F/M/Y] Spookcity_Kernel-N (For all 7.x custom ROMS), Kernel for the Samsung Galaxy S5 Mini
Contributors
spookcity138
Kernel Special Features:
Version Information
Status: Beta
Created 2017-06-23
Last Updated 2017-10-19

At 2Mb less than the test version. Has something removed or new compression?
On RR works.

Oleggluk said:
At 2Mb less than the test version. Has something removed or new compression?
On RR works.
Click to expand...
Click to collapse
Yeah,I have temporarily removed synapse support. This is the reason its 2mb smaller. I will add it back once I have some things fixed. Too many things just don't work with it right now.
Sent from my SM-G800F using Tapatalk

And the test version will be?

Oleggluk said:
And the test version will be?
Click to expand...
Click to collapse
Not positive what you mean. If you mean the size it will be the same as this as I haven't messed with synapse any yet. If you're talking about the features I've added since this build,you can have a look Here to get some idea of what I've done so far.

spookcity138 said:
Not positive what you mean. If you mean the size it will be the same as this as I haven't messed with synapse any yet. If you're talking about the features I've added since this build,you can have a look Here to get some idea of what I've done so far.
Click to expand...
Click to collapse
Now I do not understand anything)). Alucard has already been added, GPU OC to 600mhz, fifo, tripndroid and vr IO sched .....? Or will be added to the test version.

Oleggluk said:
Now I do not understand anything)). Alucard has already been added, GPU OC to 600mhz, fifo, tripndroid and vr IO sched .....? Or will be added to the test version.
Click to expand...
Click to collapse
Hehe,yes. This build is based on the "OC CPU to 1.6" commit. So it includes everything before that,but nothing after. I will probably be releasing test builds in increments. Meaning,the next test build (hopefully this weekend) will still not include all that you see committed on my github repo. I want to do it this way to better be able to diagnose possible bugs and their reasons. So I'll release a test build on github. Have you and others willing to test give me feedback about any problems. Then release it on here...and then repeat these steps. Hope that makes some sense [emoji3]
Sent from my SM-G800F using Tapatalk

spookcity138 said:
Hehe [emoji3]
Click to expand...
Click to collapse
It is certainly correct and logical, so it will be easier to search for the culprit of mistakes.
But I want to try everything at once))

Oleggluk said:
It is certainly correct and logical, so it will be easier to search for the culprit of mistakes.
But I want to try everything at once)) :еек:
Click to expand...
Click to collapse
I'll make sure the next test build includes much of the new stuff. I'm a little bit worried that the GPU overclock is going to turn into a nightmare like the CPU overclock though. Guess we will find out. Fingers crossed.
Sent from my SM-G800F using Tapatalk

I would very much like to see voltage regulation. Is there such a function?
I can test the overclocking of the GPU as well as the CPU 1700)))

Oleggluk said:
I would very much like to see voltage regulation. Is there such a function?
I can test the overclocking of the GPU as well as the CPU 1700)))
Click to expand...
Click to collapse
Haha,You're definitely not testing any CPU overclocking [emoji3]
I have started messing with voltage control. I've enabled access,but at this point I'm unsure how you would access it as its not included in kernel adiutor and I've yet to properly set up synapse. Either way,the access is there,but the ability to actually change the voltages is not currently working. I believe I need to tweak a few things and add at least 1 additional file. Soon to come I hope.
Sent from my SM-G800F using Tapatalk

Good stuff, changing SElinux to enforcing make sim card not detectable is there a recommended config for better battery?

guntzog said:
Good stuff, changing SElinux to enforcing make sim card not detectable is there a recommended config for better battery?
Click to expand...
Click to collapse
Honestly I'm unsure off hand. However,I did enable arch power by default,so that should help battery life some. I have been working on the kernel recently and have added alucard and alucard hotplug CPU governors. This will come in the near future and I believe could really help with battery life.

I have some problems with kernel. After update my RR 5.8.3 i try to instal your kernel, but TWRP showed me that error message "Unsupported device. Aborting...
Updater process ended with ERROR: 1". I have a G800F and i don't know why kernel can't install. I attached my recovery.log file
View attachment recovery.log
upd. : it was a new twrp. I installed old version twrp and try to install kernel. And kernel was installed

GeorgianGreek said:
I have some problems with kernel. After update my RR 5.8.3 i try to instal your kernel, but TWRP showed me that error message "Unsupported device. Aborting...
Updater process ended with ERROR: 1". I have a G800F and i don't know why kernel can't install. I attached my recovery.log file
View attachment 4193251
Click to expand...
Click to collapse
Yes,this has something to do with the latest TWRP I believe as I now get this error as well. I'm not sure why. I'll look into it. To "fix" it for now. Open up the zip (don't unzip it) then open the anykernel.sh file with a text editor and change the line "do.devicecheck=1" to "do.devicecheck=0" Then it skips the device check and will be fine.
Sent from my SM-G800F using Tapatalk

spookcity138 said:
Yes,this has something to do with the latest TWRP I believe as I now get this error as well. I'm not sure why. I'll look into it. To "fix" it for now. Open up the zip (don't unzip it) then open the anykernel.sh file with a text editor and change the line "do.devicecheck=1" to "do.devicecheck=0" Then it skips the device check and will be fine.
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Some changes in the name of the device with a new twrp. Kminiltexx is kminilte

Oleggluk said:
Some changes in the name of the device with a new twrp. Kminiltexx is kminilte
Click to expand...
Click to collapse
Ahh,that explains it. Thanks! Easy fix then.
Edit:
Fixed
Sent from my SM-G800F using Tapatalk

Just flashed the kernel and the mobile got stuck in a boot loop. Tried it second time: First very long boot, then crash.
I wiped dalvik/art cache and cache partition via TWRP 3.1.1.0. Anyone else has/had this? Suggestions?

Schweng said:
Just flashed the kernel and the mobile got stuck in a boot loop. Tried it second time: First very long boot, then crash.
I wiped dalvik/art cache and cache partition via TWRP 3.1.1.0. Anyone else has/had this? Suggestions?
Click to expand...
Click to collapse
I have not had this problem and haven't had anyone mention it to me. What model is your phone? F,M or Y? What ROM?
Sent from my SM-G800F using Tapatalk

spookcity138 said:
I have not had this problem and haven't had anyone mention it to me. What model is your phone? F,M or Y? What ROM?
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Model is F.
Rom is 14.1 Lineage, the 20170226 version from Ayke, i think.

Related

[KERNEL] [2.6.32.24] [HAVS] [BATTFIX] [BFS] [OC] [UV] KiNgxKernel #5/#5 "Falling Up"

[KERNEL] [2.6.32.24] [HAVS] [BATTFIX] [BFS] [OC] [UV] KiNgxKernel #5/#5 "Falling Up"
I DO NOT have an HTC Incredible but will continue to cook kernels for it. My girlfriend has Verizon however, and I am saving for two devices, one of them being an HTC Evo. Any donations go toward my devices. Bear with me until then
DO NOT FORGET TO READ THE ENTIRE POST ON MY SITE, THERE IS IMPORTANT INFO
So, just as the name implies, this is an HTC Incredible kernel with SVS (Static Voltage Scaling) & HAVS (Hybrid Adaptive Voltage Scaling.) A huge thanks to estes for the havs code and raven for being the first to implement it into the nexus kernel. What this does is provide SUPERIOR BATTERY life with stability to boot. Just flash the .zip in your favorite recovery image. Enjoy and post any bugs with a logcat please.
This is compatible with any 2.2 Sense ROM
Code:
Also, a little info on HAVS and AVS:
The purpose of HAVS is to minimize the power used by the CPU by determining
and setting the optimal voltage. At the same time, the maximum voltage by
which HAVS can scale to is fixed to a specified voltage depending on the
CPU frequency in order to prevent scaling to a higher voltage than what is
normally used at a specified voltage. The optimal voltage is actively determined
for each frequency and temperature. HAVS actively adjusts the CPU voltage as the
CPU frequency and temperature changes.
Code:
While we are at it, some info on BFS:
What is BFS(Brain **** Scheduler):http://ck.kolivas.org/patches/bfs/sched-BFS.txt
FAQS about BFS:http://ck.kolivas.org/patches/bfs/bfs-faq.txt
ENJOY!
Credits: Cyanogen, Koush for his any kernel .zip, Estes for all the code of AVS itself, Raven for being the first to implement into the Nexus kernel, and most importantly HTC for their kernel source code
Download:
If you Like my work follow me on Twitter:
All my code is on github:
I am not responsible for anything that happens to your device
ChEeRs
CFS Changelog
Kernel #5
- Kernel now patched up to 2.6.32.24
- Bug fix causing battery drain
- Reverted some UV levels causing instability
- CFS updates
* Implement different treatment for idle shares
* Fix CFS 'Over-scheduling' bug
* sched: Fix granularity of task_u/stime()
* sched, cputime: Introduce thread_group_times()
* sched: Fix select_idle_sibling()
* sched: cpuacct: Use bigger percpu counter batch values for stats counters
* sched: fix racy fair sched*trq
* sched: Cleanup select_task_rq_fair()
- EXT4 support now!
- EXT4 compiled as a module
- EXT4 filesystem bug fixes
* ext4: Fix potential quota deadlock
* ext4: Fix BUG_ON at fs/buffer.c:652 in no journal mode
* ext4: fix memory leaks in error path handling of ext4_ext_zeroout()
* ext4: Prevent creation of files larger than RLIMIT_FSIZE using fallocate
* ext4: Ensure zeroout blocks have no dirty metadata
* ext4: Consolidate inlign pages
- CIFS bug fixes for stability and security
* cifs: Fix a malicious redirect problem in the DNS lookup code
* cifs: don't attempt busy-file rename unless it's in same directory
* cifs: remove bogus first_time check in NTLMv2 session setup code
- Netfilter IPv6 bug fixes
- Memory leak fixed in firmware
- CPU Governor fixes
- Mutex bug fix
* mutex: Don't spin when the owner CPU is offline or other weird cases
- Using xen_clocksource_read now for scheduler (part of 2.6.32.18 patchset)
- vmscan: raise the bar to PAGEOUT_IO_SYNC stalls
- SLAB fixes
- drm: Only decouple the old_fb from the crtc is we call mode_set*
- arm fixes: arm: fix really nasty sigreturn bug
- RDS memory leak fixed
- mm: page allocator: update free page counters after pages are placed on the free list
- mm: page allocator: calculate a better estimate of NR_FREE_PAGES when memory is low and kswapd is awake
- So much more, check my code if you please
Kernel #4
- Patched up to Linux Kernel version 2.6.32.21 (all commits an android kernel would need, no extra bloat) *All credit goes to the linux project, check my github for authors please*
- Bug fix causing battery drain
- CFS updates
* Implement different treatment for idle shares
* Fix CFS 'Over-scheduling' bug
* sched: Fix granularity of task_u/stime()
* sched, cputime: Introduce thread_group_times()
- EXT4 support now!
- EXT4 compiled as a module
- EXT4 filesystem bug fixes
* ext4: Fix potential quota deadlock
* ext4: Fix BUG_ON at fs/buffer.c:652 in no journal mode
* ext4: fix memory leaks in error path handling of ext4_ext_zeroout()
* ext4: Prevent creation of files larger than RLIMIT_FSIZE using fallocate
* ext4: Ensure zeroout blocks have no dirty metadata
* ext4: Consolidate inlign pages
- CIFS bug fixes for stability and security
* cifs: Fix a malicious redirect problem in the DNS lookup code
* cifs: don't attempt busy-file rename unless it's in same directory
* cifs: remove bogus first_time check in NTLMv2 session setup code
- Netfilter IPv6 bug fixes
- Memory leak fixed in firmware
- CPU Governor fixes
- Mutex bug fix
* mutex: Don't spin when the owner CPU is offline or other weird cases
- Using xen_clocksource_read now for scheduler (part of 2.6.32.18 patchset)
- vmscan: raise the bar to PAGEOUT_IO_SYNC stalls
- SLAB fixes
- SO much more, tired of typing
Kernel #3
- Updated for stability
- Introduced the new 'BFQ' I/O scheduler!
- Still supporting the 'CFQ' I/O scheduler
- Using the 'BFQ' I/O scheduler by default
- Benchmark increases
- Undervolted the frequencies that can be
- Pumpin 25 more volts to get the highest speeds stabler
- Updated configurations
- Much much more I won't even bother explaining
Kernel #2
- BIG update
- Battery life significantly imrpoved
- Fixed HAVS scaling bug
- Undervolted even more
- Overclockable now up to 1.19Ghz!
- Changed I/O scheduler to CFQ
- Anticipatory scheduler still supported
- Added CPU Governor 'Conservative'
- Switched default CPU Governor to 'Conservative'
- Added support for 'powersaver' CPU Governor
- EXT4 compiled into the kernel now, no longer a module
Kernel #1
- Kernel base 2.6.32.15
- Flashable update.zip (flash it like a ROM in your recovery)
- HTC Sourced *thank you guys*
- Using Hybrid Adaptive Voltage Scaling (HAVS)
- Long battery life
- Overclockable! Up to 1.113Ghz stable
- Undervolted
- CPU Governor Ondemand supported
- CPU Governor Userspace supported
- CPU Governor Performance supported
- Using CPU Governor Ondemand by default
- Using anticipatory I/O scheduler
- Included tun.ko module
- EXT4 compiled as a module
- Included all the modules you would ever need
- More I will add, it is late and I am tired
BFS Changelog
Kernel #5
- BIG update!
- Voltage regulator changes (now using the correct one)
- HAVS code fixed (HAVS now functioning correctly!)
- HAVS code cleaned up
- LONGER battery life due to HAVS functioning correctly
- EXT4 now compiled as a module for those with bad boot.img sectors
- Minor patches to the BFS scheduler (the big one is wip)
- Fixed memory leak in vmem
- Voltage tweaks
- Kernel size squashed a bit
- More I will add
Kernel #4
- Now based off of NEW fresh source code from HTC
- Default CPU governor changed to 'Interactive'
- Numerous small changes I won't list that htc did
- Removed bloat from kernel
- Merged all my commits into the new code so
- Still using BFQ I/O scheduler
- Much much more check my code if you have any questions. I am heading out for the night
Kernel #3
- BFS Scheduler patched up to BFS330
- Applied and tweaked BFS330 test patch on top
- Voltage tweaks for battery life (245Mhz is $$$)
- Higher clock speeds will be MUCH more stable now! (1.113=ez)
- Battery charging tweaks to allow your battery to charge faster
- Be sure to wipe dalvik cache before flashing
- Compiled with neon arm optimizations
- Quadrant scores boosted
- Now using powersave governor, feel free to change it via SetCPU
- More I will add
Kernel #2
- BFS Scheduler patched up to BFS 318
- My hacks to enable 'fast battery charging' *LET ME KNOW HOW IT WORKS OUT*
- Your batteries should charge faster now
- Kernel size shrunk
- Tweaks for stability
- Performance increase
- More I will add
Kernel #1
- Implemented the BFS CPU scheduler *BFS313* (read OP for details)
- Now there are 2 kernel releases - A BFS and a CFS version
- Performance increase
- Undervolted even more for longer battery life
- New CPU Governor! 'Interactive Governor'
- Still using conservative CPU Governor by default
- Included tun.ko for OpenVPN support
- Rpcrouter handles larger message writes *performance increase*
- Rpcrouter handles multiple replies now
- EXT4 compiled as a module once again
- Other things I will add
I saw your EVO kernel thread. I will be trying this out in a few hours.
Thanks!
Your post says any 2.2 Sense ROM. I'm running CM6 so thus no Sense. I figure it should work fine, but I just wanted to make sure.
DL link isn't working, even on the other site, but it looks like you know that cause it was just pulled. Looking forward to trying this out for the INC.
Nevermind, looks like it was just added.
opengeo said:
DL link isn't working, even on the other site, but it looks like you know that cause it was just pulled. Looking forward to trying this out for the INC.
Nevermind, looks like it was just added.
Click to expand...
Click to collapse
yup, its officially live now
Had some issues with 4shared
jtcarnes said:
Your post says any 2.2 Sense ROM. I'm running CM6 so thus no Sense. I figure it should work fine, but I just wanted to make sure.
Click to expand...
Click to collapse
It won't work on CM6. Sense roms only.
jtcarnes said:
Your post says any 2.2 Sense ROM. I'm running CM6 so thus no Sense. I figure it should work fine, but I just wanted to make sure.
Click to expand...
Click to collapse
flash and let me know
kingklick said:
yup, its officially live now
Had some issues with 4shared
Click to expand...
Click to collapse
Have it flashed on SkyRaider 2.2.5. SO far so good. No boot loops which I got constantly with all of the Hydra OC kernals. One question, how can I OC this to 1.13? Using SetCPU, it says I have a 528 max. Am I missing something?
I have it on the 8/1 leak. So far so good. Over clocked with set cpu to 1.13 and using"on demand"profile. Quadrant: 1376. Was 1406 with hydra's (@1.15) so not much difference there. I have fully charged 2150 battery so I'll report battery stats after weekend use. If it improves greatly, donation coming.
Thanks for the hard work!
Typed on my Incredible phone!
this is just what I have been waiting for! I am using de-sensed Jager ROM and it works great. I am currently using setCPU to overclock it to 1.113.
jermaine151 said:
I have it on the 8/1 leak. So far so good. Over clocked with set cpu to 1.13 and using"on demand"profile. Quadrant: 1376. Was 1406 with hydra's (@1.15) so not much difference there. I have fully charged 2150 battery so I'll report battery stats after weekend use. If it improves greatly, donation coming.
Thanks for the hard work!
Typed on my Incredible phone!
Click to expand...
Click to collapse
Edit, nevermind. Reinstalled SetCPU and I'm overclocked now.
Nice work
Just installed
Quadrant (pre SetCPU) 1297
Quadrant (Post SetCPU) 1397
LinPack (Pre SetCPU) 34.6
Linpack (Post SetCPU) 37.2
Let's see how it holds out for the next couple of days, I might have to change my signature block and send some development (beer) money to the creator...
Thanks.
Any chance of getting one that will work with CM6?
What am I missing? I don't see a download link anywhere, would love to try it.
Working on SkyRaider 2.5.2 Vanilla. Will post battery stats later
sent from my kickass Droid Incredible SkyRaider Froyo ALPHA BEAST of a phone.
About to install on skyraider 2.5.2. I am very excite!
Sent from my ADR6300 using XDA App
Have had this installed since it was posted. No reboots. Yay!
Just flashed your kernel onto my friends Evo. Looking forward to giving this a shot.
Any chance BFS will make it into this kernel like in the Evo?
I know this just came out, but can the early adopters try to pay attention to charging times, too?
Some people (including me) have noticed that the time it takes to charge the battery has increased -- not sure if it's due to the radio or the kernel. Discussion in the [THINK TANK] thread seems to point to the kernel. It would be good to see if the issue persists with this kernel.
Thanks for testing.
**EDIT** added link to Think Tank thread**/EDIT**

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

LuPuS 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"
}
Hi I have kernels for the PLAY and one for the PRO, ARC/S users where pm'img me to make my one for the PRO compatible
with the ARC/S. Unfortunately they never got back to me about testing, But no worries as besttt said he would test
for me and thanks to his extensive testing it was able to boot and apparently is super smooth well i'll release so you can all test
it out for your selves :good:
Disclaimer
Code:
[COLOR="DarkOrchid"]#include[/COLOR] [COLOR="Magenta"]std.h[/COLOR]
[COLOR="Blue"]/*
* Your warranty is now void.. LOL I guess you knew it already.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, you getting dumped or you getting fired because your phone*
* bootloops and alarm does not go off. Please do some research if you have any *
* concerns about features included in my kernel before using it! YOU and only*
* YOU are choosing to make these modifications.
*/
[COLOR="Magenta"]#ifdef[/COLOR]
You have a [COLOR="DarkGreen"]question[/COLOR] post it in the [COLOR="DarkRed"]thread[/COLOR],
Instead of [COLOR="DarkGreen"]Pm'ing me[/COLOR], as other users may
experience your [COLOR="DarkRed"]problems[/COLOR]
[COLOR="Magenta"]#endif[/COLOR][/COLOR]
Included in kernel
[/LIST]
Added Io-schedulers --
- Noop
- Anticipatory
- Deadline
- CFQ
- BFQ
- SIO
- ZEN
Added Governors --
- lagfree
- brazillianwax
- smoothass
- scary
- savagedzen
- smartass
- smartassv2
- smartassH3
- interactivex
- minmax
- powersave
- performance
- conservative
- ondemand
- interactive
- userspace
+
Lulzactive - Thanks to Tegrak
Based on Interactive and Smartass. When workload is greater than or equal to 60%, the governor scales up
CPU to next higher step. When workload is less than 60%, governor scales down CPU to next lower step.
When screen is off, frequency is locked to global scaling minimum frequency
Virtuous
Virtuous is a modded smartassV2 which gives even more battery time then smartassV2
Intellidemand - Thanks to faux123
This is an intelligent ondemand that enters browsing mode to limit max frequency when GPU is idling,
and (exits browsing mode) behaves like ondemand when GPU is busy; to deliver performance for gaming and such.
Intellidemand does not jump to highest frequency when screen is off.
Lazy - Thanks to Ezekeel
The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand.
Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state
on a step overriding sampling interval.
Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always
select the maximum frequency while the screen is off.
-Ondemandx:
Basically an ondemand with suspend/wake profiles. This governor is supposed to be a battery friendly ondemand. When screen is off, max frequency is capped at 500 mhz. Even though ondemand is the default governor in many kernel and is considered safe/stable, the support for ondemand/ondemandX depends on CPU capability to do fast frequency switching which are very low latency frequency transitions. I have read somewhere that the performance of ondemand/ondemandx were significantly varying for different i/o schedulers. This is not true for most of the other governors. I personally feel ondemand/ondemandx goes best with SIO I/O scheduler.
-Lionheart:
Is a conservative-based governor. The tunables (such as the thresholds and sampling rate) were changed so the governor behaves more like the performance one, at the cost of battery as the scaling is very aggressive.
To 'experience' Lionheart using conservative, try these tweaks:
sampling_rate:10000 or 20000 or 50000, whichever you feel is safer. (transition latency of the CPU is something below 10ms/10,000uS hence using 10,000 might not be safe).
up_threshold:60
down_threshold:30
freq_step:5
Lionheart goes well with deadline i/o scheduler. When it comes to smoothness (not considering battery drain), a tuned conservative delivers more as compared to a tuned ondemand.
BadAss Governor:
Badass removes all of this "fast peaking" to the max frequency. Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1024Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.
Superbad -
A "superbad" super smooth rendition of a highly optimized "smartass" governor!
Darkside -
A "slightly more agressive smart" optimized governor!
What else-----
-SLQB - (SLAB allocator with Queue)-(both)
This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate).
- Added Cleancache
- Supports ext 2,3
- Updated zRam
- Lzo compression/decompression speed has doubled on average.
- Init.d support
- Fudgeswap
- And much more
- O/C and stable upto 2ghz, although I do not recommend O/C to 2ghz for long periods of time, do so at your own risk.
Show your support for the kernel and my work by putting this in your signature, its only a quick one I done up with my limited time
Code:
http://i.imgur.com/xtWNL.png
A big thanks to -
gu5t3r
DooMLoRD
Jimbo77
xeozus
NobodyAtAll
Faux123
Erasmus
Leedroid
FXP Team
Jerpelea
[NUT]
besttt - testing
tempest918 - For the Logo
Sinkster - testing
besttt - testing
Phil3759
CTCaer
For v2 i've started from scratch from Sony's xx.587 sources, I know everything might not be added and some things may need to be fixed
so anything that needs to be fixed or you would like to be added leave a suggestion (not an order) in the thread. Everything mentioned above has been added.
Downloads in post 2
Kernel source --- -branch master
https://github.com/garwedgess/LuPuS-STOCK-ICS-Xperia2011
CWM source -- https://github.com/garwedgess/android_bootable_recovery -b lupus-cwm
Changelog
Code:
[B]Previous releases[/B]
[hide]
[U][B][COLOR="Blue"]What's been added in v3[/COLOR][/B][/U]
[LIST]
~2 Way call recording
~ Ext4 support
~ More battery friendly (so far so good)
~ Increased WiFi signal strength
~ Free’d Ram
~ GPU Overclock
~ Made kernel smoother
~ Might of left one or 2things out here
~ 0% battery patch thanks to Bazoocaze
[/LIST]
[U][B][COLOR="Blue"]What's been added in v4[/COLOR][/B][/U]
[LIST]~ Fixed not booting issue
~ Fixed GPU OC 200+ points improvement for 2D & 3D
~ Added Full Custom Voltage control
[/LIST]
[B][U][COLOR="Blue"][B][U]Whats new in v6[/U][/B][/COLOR][/U][/B]
[LIST]~ Completely fixed boot problem[COLOR="blue"][COLOR="Red"] (boot is set to 806MHz, don't complain as you will OC anyway :p)[/COLOR][/COLOR]
~ Quicker boot time
~ Fixed battery issues :fingers-crossed:
~ Added governor-- [COLOR="SeaGreen"]Intellidemand2[/COLOR]
~ Fixed GPU OC
~ Wifi Signal and lock on much quicker/better
~ Alot of clean-ups & small fixes
~ kgsl: Use highest performance level on wake-up from sleep
[/LIST]
[B][COLOR="Blue"]New in v8[/COLOR][/B]
- Added USB OTG support (see attachments in Downloads section)
- Tweaked Intellidemand2 Thanks [user=1844875]@CosmicDan[/user] - Dbus_ramping = gives project butter feel :)
- Removed CIFS & NFS to help increase battery (test)
- Disabled my disablng of sched feature
- More tweaks
- Possibly more
[B][U]v9[/U][/B]
- Improved Battery Life alot :)
- Thumbee support
- ARM7 optimizations
- Brought OC back down to 1.6 max (no need for it above 1.6 unless u want to kill your device)
[B]- Kernel sources completely reworked started from scratch o Sony xx.587 sources[/B]
- Tiny RCU
- Upddatedd patched and fixed LZO
- lowered vfs cache pressure
- Increased Wifi- Range and added support for channel 14
- 0 % Battery patch - Thanks @ Bazoocaze
- Better memory copy
- Better memory move
- LMK Optimizations (LowMemoryKiller)
- VDD support (voltage conrol)
- Linaro Optimzations
- Compaction added
- KSM
- CIFS (improved support)
- NTFS
- USB OTG
- Updated to newest SIO Io-Scheduler
- Google Snappy Compress & Decompress
- Added Vibrate To Recovery (Notification to enter CWM)
- Wifi module size drasticly reduced
[B][U]v10[/U][/B]
- Built with Linaro 4.7.3 (02-01-13)
- Reworked Ramdisk, uses new method
- Auto Root updated to SuperSU, only roots device if Superuser.apk or SuperSU.apk dont already exist
- New LuPuS menu - check in post #1 on how to use it
- Build in wifi modules ( if wifi modules don't work on first install reboot)
- Built in CIFS & USB OTG (from lupus menu)
- Built in zRam, you can also change zRam size (from LuPuS menu)
- TWRP and latest CWM Recovery {change default in LuPuS Menu)
- Supports Gb and ICS (GB has wifi broken ATM)
- Tweaks menu from LuPuS menu script
- Free'd 11mb RAM
- cgroup scheduling
- binder changes from 2.6.32.60
- binder: Fix use of uninitialized variable.
- net sched: fix some kernel memory leaks
- net/ipv4: Eliminate kstrdup memory leak
- ipv4: force_igmp_version ignored when a IGMPv3 query received
- pids: Fix a race in pid generation that causes pids to be reused immediately
- smart toggle overclock upto 2ghz
- changed RD compression to LZMA
- enable group scheduling
- removed some debugging
- cleaned up config
- USB tether
- enable ipsec tunnel support in kernel
- SQLITE3 DB vacumming
- Further compressed ramdisk
- disabled cuse, enabled md4 + nls_utf8 as modules
**Probably alot more but this is all I can remember for now**
[B]-v11[/B]
- [COLOR="Red"]Updated kernel to 2.6.32.60[/COLOR]
- CWM = volume down
- TWRP = volume up
- Complete clean up and new improved LuPuS Menu
- Free's more RAM 360mb RAM in total now
- Fixed AROMA
- Backport Binder from CAF 3.4.0
- Triple Buffer
- Frandom
- Tweaked deadline
- Tweaked SmartassV2
- New governor SmartassH3
- New IO-Scheduler ZEN
- Patch so entropy no longer depletes
- Zcache
- ARM optimizations
- Genlock backported from CAF
- Replaced old compaction with newer/better version
- Backported logger from CAF and free'd RAM from logger
- Updated improved LMK
- Removed fudgeswap
- Updated crc32 lib from 3.3 kernel
- New net scheduler Stochastic Fair Blue (SFB)
- Optimized Tiny RCU
- CFS tweaks
- Quick keyboard reset (hold HOME + POWER)
- Timed_gpio backported from CAF
- Snapdragon optiizations
- Improved boot time
- Improved wifi to load at first boot
- Removed Autoroot feature
[URL="https://github.com/garwedgess/LuPuS-STOCK-ICS-Xperia2011/commits/2.6.32.x"]** Plus more see here for all patches and credits**
Also Big thanks at gu5t3r and [NUT][/URL]
[B]v12[/B]
- Fixed HDMI
- Fixed Video playback/recording
- Reverted back to linux kernel 2.6.32.9
- Removed triple buffer (caused some lag)
- Fixed problem with root @ gu5t3r
- LuPuS Script now runs properly from Terminal Emulator @ gu5t3r
- Free RAM = 355mb and is stable
- Added fool-proof to ramdisk -- if non-supported Android version is found (not ICS or GB) Kernel will boot into CWM
[B]v13[/B]
- Fixed CPU Governor and Frequencies not sticking at boot -- thanks [user=4665716]@gu5t3r[/user]
---- Custom CWM
- Clean-up of menu
- Added own wipe options menu -- with extra options
- Aroma File Manager from CWM --- Must have aroma ([COLOR=Red]aromafm.zip) placed on root of sdcard[/COLOR])
- Multi zip installer
- Reboot options - Power off re-added under this menu
- Pointless but people keep asking me for it so re-added wipe battery stats also.
- LuPuS themed...
[B]v14[/B]
- Fixed Camera Key
- Kernel works on CM9
- Removed persistent RAM
- Remove other errors from dmesg
- Improved wifi loading
- Disabled Key Reset (can be enbled in LuPuS Menu)
---- CWM updated to 6.0.3.2
- Fixed Advanced restore
- Fixed busybox symlinks generation (aka) fixed CWM backup not working
- Fixed install from sideload being mixed up with toggle signature
- Remove confirmation from install from sideload as it can be cancelled at anytime.
---- Complete Ramdisk Clean up & Improvment
- Reworked booting
- Supports m2sd and other ap2sd scripts
- Force booting -After 2 Vibrations Hold Home for ICS
-Hold Home and press VolDown for CM9
-Hold Home and press VolUp for GB
- Fixed Reboot To Recovery (It reboots to last one used IF you don't have scripts that wipe /cache on boot)
- Reworked Kernel logs, they are located at /cache/recovery/ and /data/local/tmp/
- Improved init.d
- lupus menu clean up
- Added Vendor fix from Hallon & Anzu
- option to mount / unmount
- Backup / Restore /system/vendor
- Boot.d - If phone is taking a long time to start move suspicious init.d scripts to /system/etc/boot.d
They will be run in background and won't affect boot time.
[B]v15[/B]
- Added Ultra-KSM
- Tuned Governors
* superbad
* lionheart
* virtuous
* darkside
* conservative
* smartassH3
- Really use google snappy zRam (improves zRam)
- Fix nasty sigreturn bug
- Fix compiler warnings
- Do uninteruptible sleep
- Other various fixes
- Removed GB & CM9 support
- Other various ramdisk improvments
- Updated TWRP - Mounting Mass Storage should be fixed
- Updated LuPuS CWM to latest Official CWM changes
* Fixed advanced restore
* Removed Reboot Options
* Brough Reboot System Now back to Main Menu
* Brought Power Off back to Main Menu
* After install of zip dont return to main menu
* Minor UI changes
- Fixed Mounting Vendor (please test can be set via lupus menu)
- patch can also be forced at boot by
hold home + hold voldown = force ics + vendor patch
hold home + tap vol down = force ics
key -- Thanks [user=4665716]@gu5t3r[/user][/hide]
[B]v16[/B]
- Fix some lag in gaming
- Set default swappiness to 20
- Removed fsync
- Removed Cleancache
- Removed zCache
- Removed WasActive page flag
- Removed Zen IO-Scheduler
- Fixed issue with some devices booting into CWM
- Fixed CWM install options order
- Fixed TWRP adb and mounting USB storage
- Fixed PATH for LuPuS Menu
- Added UKSM options to LuPuS-Menu
Downloads
If you like my work please consider buying me a beer or something else
by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
LuPuSv16 Downloads
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If you need root for STOCK ROM
Code:
[COLOR="Purple"]Root[/COLOR] : ( Flashable via recovery )
* SuperSU : [URL="http://download.chainfire.eu/204/SuperSU/"][COLOR="Green"][U]Download[/U][/COLOR][/URL]
* Superuser : [URL="http://androidsu.com/superuser/"][COLOR="Green"][U]Download[/U][/COLOR][/URL]
CWM = VOLUME DOWN
TWRP = VOLUME UP
LuPuS_anzu_Stock-iCsv16-full.img
md5 = a2d14f97a76afcae5de3a4654c554ca0
Wifi is build in NO NEED for WIFI MODULES.ZIP
Mirrors - and all other releases
http://www.goo.im/devs/wedgess
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ALL PREVIOUS VERSIONS ARE HERE-------
ARC-kernel-folder
ARC-wifi-folder
Check your MD5 match the above if not re-download
LuPuS MENU
To Run LuPuS Menu use either ScriptManager get it HERE on google playstore
Or
Use Terminal Emulator get it HERE on google playstore.
Code:
su
lupus
* information is in lupus menu
1/ CIFS Menu *
Enable
Disable
2/ zRam Menu *
Enable
Disable
Set zRam size ( default is 60)
3/ Frandom Menu *
Enable
Disable
4/ USB OTG *
Enable
Disable
5/ Clean and Remove tweaks
Remove init.d's
6/ Tweak Menu
Note all tweaks are preset from here and option to set as init.d's
Clean all temp files
SQLITE optimizations
LMK Optimizations
Network optimizations
Defend against ARP spoofing
Remove android logger
SDcard speed tweak
Flag blocks as non-rotational
7/ Performance Menu
Note all options are se by user input from here and option to set as init.d's
Set CPU frequencies
Set Governor
Set IO-Scheduler
Voltage Control
VM tweaks (explained below)
VM Tweaks
dirty ratio and dirty background ratio 1 & 2
This controls how often the kernel writes data to "disk" (in our case the internal microSD system card, not the removable microSD card). When your apps write data to disk, Linux actually doesn't write the data out to the disk right away, it actually writes the stuff to system memory and the kernel handles when and how the data is actually going to be flushed to the disk. These values represent a percentage, the higher the percentage, the longer it waits to flush, the lower the percentage, the more often flushes will occur. Now remember, we are dealing with solid state storage, not the traditional disk platter and spindle. So we are actually able to delay flushes a little longer with solid state versus a traditional hard drive disk.
dirty_expire_centisecs
How old "dirty" data should be before the kernel considers it old enough to be written to disk. It is expressed in 100ths of a second.
dirty_writeback_centisecs
This is the interval of when the writeback daemons periodically wake up and write "old" data out to disk. It is expressed in 100ths of a second.
min free kbytes
This is used to force the Linux VM to keep a minimum number of kilobytes free. The VM uses this number to compute a pages_min value for each lowmem zone in the system. Each lowmem zone gets a number of reserved free pages based proportionally on its size. Default is 2048kb.
overcommit_memory
This controls overcommit of system memory, possibly allowing processes to allocate (but not use) more memory than is actually available.
0 - Heuristic overcommit handling. Obvious overcommits of address space are refused. Used for a typical system. It ensures a seriously wild allocation fails while allowing overcommit to reduce swap usage. root is allowed to allocate slighly more memory in this mode. This is the default.
1 - Always overcommit. Appropriate for some scientific applications.
2 - Don't overcommit. The total address space commit for the system is not permitted to exceed swap plus a configurable percentage (default is 50) of physical RAM. Depending on the percentage you use, in most situations this means a process will not be killed while attempting to use already-allocated memory but will receive errors on memory allocation as appropriate.
Swappiness
A property for the Linux kernel that changes the balance between swapping out runtime memory, as opposed to dropping pages from the system page cache. Swappiness can be set to values between 0 and 100 inclusive. A low value means the kernel will try to avoid swapping as much as possible where a higher value instead will make the kernel aggressively try to use swap space.
VFS Cache Pressure
File system cache (dentry/inode) is really more important than the block cache above in dirty ratio and dirty background ratio, so we really want the kernel to use up much more of the RAM for file system cache, this will increas the performance of the system without sacrificing performance at the application level. The default value is 100, as a percentage, and what you want to do is lower the value to tell the kernel to favor the file system cache and not drop them aggressively.
8/ Enable / Disable Quick Key Reset
- Reboot device quickly by Holding HOME and POWER Key (Disabled by default)
- Enable
- Disable
9/ Vendor Options
- Fix for Anzu and Hallon Vendor problem
- Mount
- Unmount
- Backup
- Restore
Compatible
Hi!
This kernel is compatible with .587 LT15i?
Sorry...xD "CM9 based"... for Play
Or what?
bukest said:
Hi!
This kernel is compatible with .587 LT15i?
Sorry...xD "CM9 based"... for Play
Or what?
Click to expand...
Click to collapse
Its for ARC and ARCS its stock based and off .4 sources untill I see if it's popular or not if it is I will update during the week to new sources
and add in Aroma file manager when you hit volume down button and CWM when you hit back button :good:
CM9/10 kernels maybe coming soon, i'll see if I can make time for it
what governors do you recommend?? and can i have swap and zram, both of them, activated at the same time??
wedgess said:
Its for ARC and ARCS its stock based and off .4 sources untill I see if it's popular or not if it is I will update during the week to new sources
and add in Aroma file manager when you hit volume down button and CWM when you hit back button :good:
CM9/10 kernels maybe coming soon, i'll see if I can make time for it
Click to expand...
Click to collapse
Hm... Flashed this without any problem and any FC on .587 a few minutes ago.
It's so fast. ))
Now, try the wiFi and Zram enabler.
WiFi's fine. Noticable difference immediately, I'll leave it overnight and see what happens...
(ignore the sig, I'm running Miui v4 atm)
sinkster said:
WiFi's fine. Noticable difference immediately, I'll leave it overnight and see what happens...
Click to expand...
Click to collapse
Same here, but WiFi has something wrong. It's turn on, but didn't connect to my router with WPA2 security.
"Connecting..."
'Authentication..."
"Connecting..."
'Authentication..."
...
did you have arc or arc s?
---------- Post added at 02:05 AM ---------- Previous post was at 02:04 AM ----------
bukest said:
Same here, but WiFi has something wrong. It's turn on, but didn't connect to my router with WPA2 security.
"Connecting..."
'Authentication..."
"Connecting..."
'Authentication..."
...
Click to expand...
Click to collapse
wait for a fix we just want more users to report:good:
---------- Post added at 02:06 AM ---------- Previous post was at 02:05 AM ----------
sinkster said:
WiFi's fine. Noticable difference immediately, I'll leave it overnight and see what happens...
(ignore the sig, I'm running Miui v4 atm)
Click to expand...
Click to collapse
arc or arc s user?
besttt said:
did you have arc or arc s?
Click to expand...
Click to collapse
Arc(LT15i) with stock 4.1.b.0.587
bukest said:
Arc(LT15i) with stock 4.1.b.0.587
Click to expand...
Click to collapse
iam thinking that only arc have wifi working arc s failed for the moment lets wait and other reports
can anyone tell me wath governors are the best for this kernel??
jarein95 said:
what governors do you recommend?? and can i have swap and zram, both of them, activated at the same time??
Click to expand...
Click to collapse
Ye zram may cause lag it doesn't for me on the PLAY but you can always disable it, probably intellidemand, superbad, ondemandx, darkside and for battery virtuous=1/3rd better then stock
sinkster said:
WiFi's fine. Noticable difference immediately, I'll leave it overnight and see what happens...
(ignore the sig, I'm running Miui v4 atm)
Click to expand...
Click to collapse
What you using ARC or ARC S???
Click to expand...
Click to collapse
And please hit thanks in the OP, I don't have this phone and didn't need to spend time making this,
but thought
I'd help the community, All it is is clicking a button :good:
No wifi in my arc S!!
Sent from my LT18i using xda app-developers app
Ok looks like for now wifi only works on the ARC ill get it working on the ARC S asap probably tomorrow or when i get time
Sent from my GT-I9300
its amazing kernel sooooooooooooooooooooooooooooooo smoooooooooooooooooooooth
but unfortunately wifi not working
request please
1) can u add the new source
2) can u increase the wifi signal when u fix it for arc s users
3) can u add more ram
best wishes and gooooooood luck to u
-----------------------------------
sent from LT8i ARC S
unlocked bootloader
Sorry man, this kernel is based on .587 source?
Charging
Charging from USB isn't work for me.
dr said:
its amazing kernel sooooooooooooooooooooooooooooooo smoooooooooooooooooooooth
but unfortunately wifi not working
request please
1) can u add the new source
2) can u increase the wifi signal when u fix it for arc s users
3) can u add more ram
best wishes and gooooooood luck to u
-----------------------------------
sent from LT8i ARC S
unlocked bootloader
Click to expand...
Click to collapse
Yes depending on how it does ill build from newest source. And more ram so u want me to break 720p recording??
HorvathTheWizard said:
Sorry man, this kernel is based on .587 source?
Click to expand...
Click to collapse
No for now it .4 sources will update tho maybe today, depending
bukest said:
Charging from USB isn't work for me.
Click to expand...
Click to collapse
Ohhhh ok will have to fix that later when im home looks like ill just have to build from newest sources
Sent from my GT-I9300

[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

TUNED Kernel for N/O/P/Q - 20201021 - Full charging, no flickering, correct mA values

"A kernel is the central part of an operating system. It manages the operations of the computer and the hardware - most notably memory and CPU."
It should be installed via Recovery (TWRP) over any LOS/AOSP 14/15/16/17-Based ROM. It doesn't need any tweaking with any app, just install it and use it.
BUT you can use Boeffla Config app (available here on the next post) or Kernel Adiutor if you like tweaking.
This kernel uses codes from other kernels, as you'd expect in an open-source community, most notably code from Boeffla, SmartPack, Lolz, Ares and Intelli-kernel
It has UNIQUE features like:
- a different "low memory killer" algorithm wrote by me. Extremely simple, but multiple apps can be killed in a batch!
- zcache is disabled for really *freeing* up memory that was used for caching files
- a different default cpu hotplugger. ALL kernels (even LOS/stock) relies on Qualcomm's vanilla MPDecision, I wrote my own
- Tuned CPU governor (it's the default). It's basically the Interactive governor but with a LOT of tuning to match up with the tuned hotplugger. Did you know stock/los roms uses a multi-socket Interactive governor that doesn't match our phone's cpu?
- many many many MANY compiler optimizations not found on boeffla kernel, LOS or anywhere else!
- MANY unused code simply REMOVED to free memory and CPU. People ADD a lot of stuff on a kernel, I like to remove
- compiled with 2019 GCC version 9.1 (instead of the ancient version 4.9 that EVERY ROM uses)
- Your battery will be charged to "real" 100% like TWRP does
- many unstable cpu and gpu governors and i/o schedulers removed. they only wasted space
- ext4 tweaks
- fair scheduler tweaks
- removed 3 touch boosters code.. why so many? just to raise your clock on every single touch?
- Maple i/o scheduler
- lowered "read ahead" of files and inodes.. why would you read something you don't know you'll need?
- lowered maximum i/o requests for lowering ram usage while writing to SD (internal or external)
- removed a lot of DEBUG code.. why release a software with debugging code built-in?
- removed network protocols we would never use
- removed some compatibility code
- removed dynamic fsync, why would anyone want to enable fsync in any moment anyway? it has been disabled by default linux kernel for decades!!
- decreased commit DELAY of file changes from 20s to 5s, which is linux default. there's no advantage in keeping new/modified data on ram for too long
And common features:
- Max cpu voltage set to 1.4v
- Min cpu clock set to 268mhz instead of 300
- Max cpu clock set to 2995mhz instead of 2457
- Max gpu clock set to 657mhz
- Compiled to speed, not size
- Voltage table for undervolting or overvolting
- Charging level for AC, USB and Wireless charger can be set
- LED fading control + brightness
- zen, noop bfq and sioplus i/o governors
Overall your phone will be snappier, and less battery hungry
You can go back to your rom's default kernel by simply installing rom's .zip again. No need to wipe anything ever!
Telegram Group: https://t.me/tunedkernel
If your voice on recordings or whatsapp calls is too LOW, try my fix for that: CLICK
XDA:DevDB Information
TUNED, a LOS Kernel for S5 - Performance and Battery life together!, ROM for the Samsung Galaxy S5
Contributors
fbs
ROM OS Version: Android 10
Version Information
Status: Stable
Stable Release Date: 2020-10-21
Created 2019-01-28
Last Updated 2020-10-23
Tuned Kernel versions will be attached here, the build date is at the file name.
com.ktoonsez.KTmonitor.1.apk is a little app that will show to you each cpu core clock and gpu clock. Please hold the red button and put at most 100 at "Update Speed". Don't touch the other options because they're buggy!
2.5.20-boeffla-config-v2.apk is the Boeffla Config App, where you can setup most of this kernel's options
klte = SM-G900F, SM-G900M, SM-G900R4, SM-G900R7, SM-G900T, SM-G900V, SM-G900W8, SM-S902L
klteduos = SM-G900FD, SM-G900MD
kltedv = SM-G900I, SM-G900P
kltekor = SM-G900K, SM-G900L, SM-G900S
kltechn = SM-G9006V
CLICK ON THE LINK BELOW WITH YOUR MODEL ON ITS NAME (KLTE or KLTEDUOS or KLTEDV or KLTEKDI or KLTEKOR or KLTECHN) TO DOWNLOAD:
Reserved
300119
- possible fix for encrypted devices and f2fs file system (f2fs is buggy on every s5 kernel, don't use this)
150219
- more overclocking on cpu and gpu
- sdfat updated
- tuned hot plugger enhanced
- xor and square root algorithms optimized for ARM
- boot time maybe a little faster with LZ4 compression (that's why kernel seems bigger)
- removed "read-ahead" code from kernel, don't bother changing read_ahead_kb because it won't work
- zcache (not zswap/zram) back on for now
170219
- 266mhz undervoltable again.
- f2fs removed for now
- ext4 read_ahead blks reduced but not eliminated
200219
- tweaks to zcache. still don't know if it's better with it on or off..
- tuned hotplugger will enable a core and put it on maximum freq right away!
- removed CPUBW_HWMON gpu governor
- tweaks to uv_oc table
220219
- compiling with march=armv7-a mtune=cortex-a15
070319
- linux 'fair' scheduler tuning
- zcache disabled
- more inlining while compiling
100319
- more tuning on linux cpu fair scheduler and tuned governor
- revised all kernel configs (klte and variants)
260319
- smooth screen animations
- new f2fs version
- maple scheduler tuned
- compiled with -funroll-loops but less function inlining
030419
- f2fs should be working now
- new assembly optimizations
150519
- boeffla app should work better now when changing cpu hotpluggers and charging voltages
- some governors are back
- using "system_freezable_power_efficient_wq" for disk events
- RoW and Maple schedulers tweaked
- ext4 tweaks
- fair scheduler tweaks
070619
- GCC 9.1 (2019 compiler and toolchains)
- Compiling with -fgraphite -fgraphite-identity -fschedule-fusion -ftree-lrs
- tuned hotplugger with different algorithm
110619
- number of online cores are now working on boeffla app
- boeffla app can raise input charger amperage to 2200
- minor gpu tweaks
200719
- Tuned governor and hotplugger tweaked
- Saving more battery when suspended
- Merging sd reads/writes by default
090819
- tuned governor tweaked
- defaulting to row i/o scheduler, even though benchmarks don't like it
- defaulting to "simple_ondemand" gpu governor, tweaked it a lot
100919
- back to xz compressed kernel image
- updates from upstream los16
- same kernel for los14 or 16. thanx Samuel Pascua
- some strncpys changed to memcpys
- tuned governor at 15ms frequency
221019
- updates from upstream los16
- rewrote tuned hotplugger: using even less cpu for itself but enabling cores more often, starting from core 4 instead of 2
- ZRAM enabled with lz4 compression but swappiness at 60% only
- made 1497mhz the default high load speed
- tuned governor at 10ms frequency
101119
- zram changed to vnswap but lower swappiness to save battery
- no more flicker when low brightness (thanks to samuel pascua)
- file system tweaks
201119
- f2fs code stolen from intelli-kernel
- file system tweaks
- default vm_swappiness to 25
170120
- GCC 9.2.1 MUSL 2019-12
- boot time reduced even more
- faster overall performance, lower overall battery drainage
- KTmonitor should show CPU Temperature now
- vnswap should work on Pie
- enforcing selinux after booting
- removed adreno input booster
- set sysctl_vfs_cache_pressure to 50 and vm_swappiness to 40
- ignoring zswap_max_pool_pages
040220
- Working on Q (Android 10)
- AnyKernel update to 3
- Tuned governor with min_sample_time defaulting to 80ms
- Charging till your battery gives 4.4v, or explodes
- UV/OV table matching scaling_frequencies
20200223
- Using higher l2-cache frequencies for performance
- Higher heat "tolerance"
- Battery voltage/power should now be showing correctly at lockscreen
- vnswap wasn't working on Pie but now it is
20200521
- Changed some timers to let the device sleep more (huge battery gain on stand by)
- Tuned governor now being more conservative
- Added back IO Schedulers
- Led control
- LOS updates
- Remove Adreno touch booster
thank you for great work
Thank you very much.
why a new thread?! and also the download link is missing.^^
Where's the download link, appears to be missing.
xda is completely ****ed up
Thanks a lot for your work! But where do I get this kernel?
I've just upload a new version for klte only for now. TEST with los15.1 and 16 please.. and see if boeffla config app is still working with it..
and please don't flood this thread about the variants
fbs said:
I've just upload a new version for klte only for now. TEST with los15.1 and 16 please.. and see if boeffla config app is still working with it..
and please don't flood this thread about the variants
Click to expand...
Click to collapse
thnx for this kernel ,can't download this kernel
warism100 said:
thnx for this kernel ,can't download this kernel
Click to expand...
Click to collapse
I couldn't download using XDA app, but I was able too by opening XDA desktop site using browser.
I hope this helps you.
Thank you I will try it.
g900w8 9.0 no working
I have installed this kernel for my S5 G900F
with latest lineageos 15.1 and i insttaled beoffla
apk too, the results is great , beoffla apps work
as before
LOS15.1 + kernel + beoffla apk work fine
vlad3647 said:
g900w8 9.0 no working
Click to expand...
Click to collapse
w8 isn't klte
Uff i didnt know ,could you please tell which is w8?
Thanks
vlad3647 said:
Uff i didnt know ,could you please tell which is w8?
Thanks
Click to expand...
Click to collapse
hum.. you were right, it is klte indeed.. did it work with previous tuned-klte version ?!
I used before smartpack
---------- Post added 30-01-2019 at 12:03 AM ---------- Previous post was 29-01-2019 at 11:59 PM ----------
Maybe bcx muy phone is pretty old
---------- Post added at 12:36 AM ---------- Previous post was at 12:03 AM ----------
I install this one and so far so good
Kernel Special Features: lighter, optimization-focused
Version Information
Status: Stable
Stable Release Date: 2018-08-22
Hi, fbs.
g900f (klte) on los 15.1
not worked on f2fs

Categories

Resources