[KERNEL][14FEB'12]RedPillKernel_Rev1.3[RedPill Touch CWM Recovery by AF974]"TAKE IT!" - Galaxy S II Original Android Development

[KERNEL][14FEB'12]RedPillKernel_Rev1.3[RedPill Touch CWM Recovery by AF974]"TAKE IT!"
{
"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"
}
Click to expand...
Click to collapse
Click to expand...
Click to collapse
RedPill Kernel Features | RedPill Kernel Changelog | RedPill Kernel FAAAQ​
"This is your last chance. After this, there is no turning back. You take the blue pill - the story ends, you wake up in your bed and believe whatever you want to believe. You take the red pill- you stay in Wonderland and I show you how deep the rabbit-hole goes." - Morpheus, The Matrix (Copyright belongs to the Wachowski Brothers... Larry and Andy)Features
Highlights
Initramfs from LA2
Samsung kernel-update3 (patched for deep sleep fix)
Based on Arighi sources (arighi) + a LOT of patches included by pongster for performance, stability and battery life
Custom ClockworkMod Based Recovery v5.0.2.7 by AF974 based on Team Overcome Recovery (thanks to alterbridge and AF974)
Instant root (modded script by gokhanmoral of SiyahKernel with a few edits by pongster to ensure latest SU apk and binary are used.)
Newest Superuser 3.0 and su binary (thanks to chainsdd)
Touchscreenfix set to "3" (vitalij)
Init.d support
VooDoo Louder Support by supercurio
2nd Core and Touch Move by Tegrak Support
SetCPU and Voltage Control Support
Full CWM Manager 3.0 Support by Chainfire
CPU & GPU Overclocking and Undervolting by Netarchy
Highly Experimental Ondemand based CPU Governors (Minor Edits only/Renamed to keep bugs on the experiments) based on arighi's deep_sleep and fast_start commits
Maximum CPU Freq set at 1.5Ghz
Enable or Disable File Syncing (fsync enabled by default)
CFS Autogroup by Mike Galbraith Enabled
CPU Topology and Sched_MC enabled
AFTR and LPA enabled
A lot of tunables via sysfs included
Undervolted Int ARM and Touch LED Values (thanks to Phenomenal for the idea)
Git Implementation of SHA-1 for 12% faster boot time
CPU set at 1.2Ghz at Boot for faster boot time (Thanks to Imoseyon)
XZ compressed kernel using optimized values for the size of the kernel
Uncompressed Initramfs (tweaked scripts/gen_initramfs.sh)
NTFS Read/Write Support for OTG (Flash Drives and External Hard Drives with enough Power supported)
CIFS and FUSE Support | Tweaked Ext4 Filesystem
SIO | noop | deadline | V(R) (tweaked for better throughput and balanced latency for Mobile NAND based devices)
sleepy | hyper | conservative | ondemand CPU Governors
generic cpufreq range regulation (arighi) | BLN support (Thanks to creams and neldar) | Fuel Guage Wakelock fix by Entropy512
Power Saving Features:
AFTR + LPA enabled
sched_mc enabled
ARM CPU Topology enabled
CPU Hotplugging OFF when screen off enabled (Thanks to arighi)
RCU Fast No HZ enabled
Stable Voltage Tweaks for Internal Voltages (not ARM Voltage which remain stock) to help lessen heat when in heavy usage scenarios
Boot Time Features:
Used git Implem of SHA-1 for 12% Boot time improvement
Added [PATCH] arm: remove "optimized" SHA1 routines by Linus Torvalds <[email protected]>
Added [PATCH] arm: remove stale export of 'sha_transform' Linus Torvalds <[email protected]>
Uncompressed initramfs (since initramfs is compressed as part of the kernel image, this is reduced to a copy operation from a decompress then copy one)
Set Clockspeed at 1.2Ghz at Boot time to ensure all critical tasks have enough power to perform them while the governors/maxfreq isn't set yet. (Thanks to Imoseyon for this hack)
CPU Features
CPU and GPU OC/UV thanks to netarchy/Hacre
CPU Governors Included:
Final Clean up of CPU Governors available for simplicity. (all Governors are tweaked for the best possible balance of battery and performance with a slight lean towards performance) With this focus on simplicity stated earlier, the only governors available are the following:
sleepy (ondemand based cpu governor with minor edits by pongster) loves to sleep and idle at the lowest set frequency, hence the name change from "solo" to "sleepy". Its closer to ondemandx in terms of performance. This can be tweaked and tuned using init.d scripts as well.
hyper (ondemand + suspend freq setting ability with minor edits by pongster) This was formerly the original kenobi which I renamed to hyper as others may not get the Star Wars Reference. It gives a good balance between battery life and performance. Its closer to ondemand in terms of performance. also tunable using init.d scripts.
conservative (good battery savings by default due to its slow ramp up and ramp down but tunable for performance) defaults are slightly tweaked for better performance than default conservative.
ondemand (old reliable thats been tweaked by arighi to support deep_sleep and fast_start) these features try to detect if the CPU is coming from a deep sleep and is more likely to sleep again and thus limits its frequency to the lowest possible that can handle the operations needed. fast_start checks if the CPU needs more "ooomph" and jumps to the highest frequency faster to enable it to complete the operation the system needs to complete. (like during boot-up)
3rd Party Kernel Apps Support
CWM Manager 3.0 (It works well for me. Its a useful app by Chainfire that extends the features of the current recovery. No need to reinvent the wheel, so to speak)
Voodoo Louder by supercurio
Voodoo Display (for future supercurio app)
2nd Core by Tegrak
Touch Move by Tegrak
SetCPU by michaelhuang
Voltage Control by xan
Filesystem Features (loaded by default to prevent the load insmodding at boot will cause, however minor)
CIFS
FUSE
NTFS
Experimental NTFS automount for OTG devices (you'll have to do a little more work to enable sdcard as ntfs) (Thanks to gokhan for the hotplug script as base.) This script uses the native NTFS RW support available in t he kernel instead of ntfs-3g
Ext4 Tweaks from 3.x.x branch:
[PATCH] ext4: fix ext4_end_io_dio() racing against fsync() from https://lkml.org/lkml/2011/12/16/311
*Reported-by: Kent Overstreet <[email protected]>
*Signed-off-by: "Theodore Ts'o" <[email protected]>
[PATCH] ext4: avoid hangs in ext4_da_should_update_i_disksize() from https://lkml.org/lkml/2011/12/16/344
*Signed-off-by: Andrea Arcangeli <[email protected]>
*Signed-off-by: "Theodore Ts'o" <[email protected]>
I/O Schedulers
SIO (2012 0.2 version)
deadline (tweaked for Flash)
noop
V(R)
Performance Patches
Mike Galbraith's Ultimate CFS Performance Patch (CFS Autogroup)<[email protected]> as ported by faux123 <[email protected]> for 2.6.35 kernels. I (sarcastillo <[email protected]>) additionally edited some things in sched.c to make it compile properly for 2.6.35.14 Samsung Sourced kernels*More info on this here: https://lkml.org/lkml/2010/11/20/91
Added the CGroup Patch:*Added [PATCH] cgroup: Provides a way of tasks grouping by timer slack value by Kirill A. Shutemov <[email protected]> Based on patch by Jacob Pan. Introduces per cgroup timer slack value which will override the default timer slack value once a task is attached to a cgroup. It's useful in mobile devices where certain background apps are attached to a cgroup and minimum wakeups are desired.
Miscellaneous Patches
Added [PATCH] cpu-hotplug: Add the function 'cpu_hotplug_inprogress' by Maya Spivak <[email protected]>
Added [PATCH] printk: Don't allow cpu to get console lock during hotplugging by Maya Spivak <[email protected]>
Added [PATCH] rcu-tree: Check for extended quiescent state at start of gp by Maya Spivak <[email protected]>
Added [PATCH] sched: Do not block when waiting to free old root domain by Maya Spivak <[email protected]>
Enabled fsync disabled (can be disabled by doing an echo "1" > /sys/module/sync/parameters/fsync_disabled in a terminal emulator or as a script for gscript or scriptmanager)
Touchscreen fix set to "3" for more responsiveness during games, etc. (Thanks to vitalij)
Custom CWM Recovery made by af974 (Huge props to him!) based on Team Overcome Recovery (Huge props to them!)
Enabled back key
Enabled Power button to select (less chance of double pressing the Home Button and format sdcard fro some users)
Reorganized, Inutitive layout and more Readable menu
No/Yes Selection Tweak (If you know how to get to Recovery, you don't need that many "No's")
Mount Internal AND Mount External from Recovery (We figured this would be quite Useful)
Click to expand...
Click to collapse
RedPill Download Links:Download TAR
Download CWM ZIP
​
Click to expand...
Click to collapse
Disclaimer: I made this for my personal use and has been personally tested by me and my team (HyperDroid Dev Team). While it may work for other i9100 International ROM's, we have not tested it personally. You have the liberty to choose to use this Rooted Kernel and by flashing this Kernel you will have surrendered your right to complain that you lost your Warranty. If you're smart enough to figure out WHY you need a Custom Rooted Kernel, you SHOULD be smart enough to undo it if you need your device serviced officially. If your device explodes, melts or otherwise disintegrates from its awesomeness I shall NOT be held responsible.
Click to expand...
Click to collapse
Reposting the Kernel: Please don't repost this kernel anywhere else. Keep the download links intact as I have taken the effort to provide fast links for everyone. If you can't understand English well enough and feel the need to re-post this kernel on a foreign language web site or forum, please let me know first and link to this page... (Google Translate can make it easier to read in your Native Language)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Credits: (Huge props to all the devs I've learned from by reading and studying their code)
Chainfire
Erasmux
Imoseyon
faux123
Ezekeel
franciscofranco
supercurio
hardcore
Hacre
Netarchy
Ninpo
gokhanmoral
Tegrak
Entropy512
cattleprod
alterbridge
Team Overcome
All the hardworking Kernel Devs at lkml.org (Linus Torvalds, Jens Axboe, Mike Galbraith, etc.)
Click to expand...
Click to collapse
Special Mention to the following:
To my mates at the HyperDroid Dev Team: (who help me test and refine the features of our kernel for our ROM)
Arighi (for the initial guidance on how to get the kernel booting and working & a lot of battery driven patches)
D.O.C. (formerly doctorcete) (for the friendship and being an example of diplomacy in dealing with usual ****storm of questions from users who refuse to search and read)
AF974 (for the Overcome based Recovery that's so bad ass I want to stay in recovery)
petsasj (for his great work on HyperDroidParts and all future Apps that are just pure awesomesauce!)
sicopat (for letting us use his server and helping us out with a lot of things smali)
s2d4 (for testing everything at the risk of the potentially time sucking Soft Brick...)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Kernel Source: https://bitbucket.org/sarcastillo/ultimate-kernel-sgs2
MatrixPills Image by Corinne Wilger. Visit her site HERE.

RedPill Touch Recovery Changelog:
-Based on new CWM 5.0.4.2 made for ICS
-Usual custom layout as previous release, custom images (thanks to Pongster)
-New menus layout:
Reboot menu= reboot to system,recovery and power off
Install menu= choose from internal or external sdcard
wipe menu= wipe data/factory res, wipe cache, wipoe voltage settings(it wipes voltage control script), wipe battery stats.
backup and restore= backup either on internal or external sdcard, restore and advanced restore to the same way.
storage menu= mount/unmount partitions, mount internal or external sdcard
Touch button on screen
Since the touch feature, we have again 7 no and one yes.
Touch buttons layout(from left to right) : BACK-UP-DOWN-SELECT
Battery percent
Battery charge while in recovery.
Click to expand...
Click to collapse
Credits:
Thor2002ro for all his help, i've stressed him along via pm and for porting ICS recovery compatible with gingerbread
DoomLord for the inspiration
Sztupy...nice and helpful guy
Gweedo767
Ogdobber
Koush for his wonderfull work on recovery
Linux even if recovery doesn't have linux code inside
Google
All Hyperdroid team
XDA Developers
CyanoGenMod Team
Alterbridge and Overcome team for their work on the Galaxy Tab recovery
Click to expand...
Click to collapse
Uploaded with ImageShack.us
----------------------------------------------------------------------------------------------------------------------------------------
HyperDroid RedPill Recovery ChangeLog:
-New custom layout, red color text, custom images (thanks to Pongster)
-New menus layout:
Reboot menu= reboot to system,recovery or download
Install menu= choose from internal or external sdcard
wipe menu= wipe data/factory res, wipe cache, wipoe voltage settings(it wipes voltage control script), wipe battery stats.
backup and restore= backup either on internal or external sdcard, restore and advanced restore to the same way.
storage menu= mount/unmount partitions, mount internal or external sdcard
back softkey is set to back.
power and menu are set to select.
Click to expand...
Click to collapse
Thanks to D.O.C (alias doctorcete, alias King) for screenshots

"The Surgeon"
Its basically to make our lifes simpler...
as stated by pulser_g2 here the idea was born on IRC basically because of the constant updates samsung was doing before, and we all felt a little overwhelmed about doing and redoing the mods and themes for every little release, and on top of it, without a changelog.
So basically "The Surgeon" is VRTheme on steroids. What does that mean?
VrTheme based on latest by seshmaru here modified by myself in several ways.
1. It uses sdcard instead of cache, thus making it cross compatible with devices with little cache partition memory (my case the HD2=
2. It has been modified to fit our needs of modding aswell.
So We basically take any John Doe build, no offense intended.
then flash out surgeon and we can do what any flashable zip can do plus:
1. Theme thanks to vrtheme system
2. Flash custom boot logo
3. Change DPI
4. Mod any apk that would allow us (for example, here we use it to provide multidpi for dialer and calculator).
5. Makes a backup of modded apks to sdcard/vrtheme-backup which can be called with the again modified vrtheme restore backup zip file that you should find on the posts below.
to this add:
1 Remove Apks
2 Automatic wiping of dalviks cache
3 adding apks
4 settings permissions, replacing dirs, etc, what any flashable zip does.
and, the best thing of it all, is that, removing specific xmls from the flashins system, makes the surgeon truly universal. This same advanced flashable zip file we have been using since KG6 (yeah, we have been building the roms since KG6, but we did not want to release until we got it all right) with the exception of certain xmls (devs know what im talking about, samsung has been changing smalis and xmls on every darn build).
It also has been proven to work (again without specific xmls) with VillainROM or any rom.
Our main goal was to build a custom base, and, although we consider the base rom to be pretty good, it has nothing spectacular or innovative added to it, its a base rom.
Again, so you guys get this straight.
Base rom contains all the mods that cannot be flashed thru the surgeon.
Thus, the Surgeon is where the magic relies, is where multidpi, themes, mods, scripts, bootlogo changing relies.....jep, that is where the magic takes place.
The Surgeon is pretty straight forward as you can see, no hidden tricks or secrets kept for ourselves, therefore, we consider this to be an opensource project, cause we truly believe that lots of eyes on sources make things a loot better.
So if we get lucky enough with samsung, only one surgeon from now, updates for base rom only.
Surgeon should get updated when bugfixing, adding of features or removal of them.....hopefully i said..
Again, without the help of the VillainRom Team, this wouldnt be possible.
PS: The rom was first intended to be as it is AFTER flashing the surgeon scripts, but, since we can provide a base rom for guys that like ALL of samsung stock features and theme, then this makes us all happy doesnt it?
Universal Surgeons Testing phase
Lets play a bit with this one and try to make surgeon to work on any build too shall we?
Ok here we go with the first one....I just flashed it and it works fine, no bootloops or anything, rom (not androidmeda) is totally themed, dpi hcanged to 192, dialer resized to be multidpi, apps injected, some removed, etc.......This shall make almost (yeah almost) like the docs surgeon script on any build....
Removes the following if existant on build to be flashed upon to
http://pastebin.com/YNC6RPkS
Changes the Bootlogo
Changes dpi to 192
adds some tweaks to init.d
adds color tweak
removes gapps and replaces with latest that supported dpi
adds Spare parts (please uncheck compatibility mode for dpi lower than 240 display correctly)
adds CM7 calculator
Adds gb keyboard I modded to be multidpi
Replaces TWlauncher, replaces with launcerpro
Removes almost all of tw stuff
Removes Kies functionality (and its entry from settings)
And lots more.....
*tested here over Villain Rom, on it and its all good so far
Now rom would be fully themed like docs theme (including custom fadings animations)
pls feedback is appreciated
Universal Surgeon V2.0

Kernel Changelog
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Red Pill Kernel
Changelog
RedPill_Rev1.3
Added Newest RedPill CWM Based Recovery by AF974 (Touch Enabled with Battery % and Charging in Recovery) (Huge props to AF974)
Experimental: USB Audio support for DAC devices
Change Back to SLQB for slightly better performance
Removed Net Scheduling/Traffic Shaping via Stochastic Fair Blue Scheduler as this may be causing network issues for some users
Added HFS and HFS+ Support
Added back V(R) but tweaked it to prevent aliased requests from starving other I/O as well (Thanks to franciscofranco for the idea)
Update SIO I/O scheduler to 2012 version by Miguel Boton
Tweaked CPU Freq hyper sampling rate
Added Patch ARM: improve compiler’s ability to optimize page tables by Russel King
Added Patch wakelocks: Allow independent debugging of wake_lock_destroy() (Thanks to Entropy512)
Experimental: Updated Wireless Driver from EL29 Source… (Thanks to gokhanmoral for these files that are “cherry-picked” from his repo) If users report a lot of the dreaded wlan wakelocks, I can easily revert to the stock update3 sources… This is an attempt to solve WiFi problems some are having.
RedPill_Rev1.2
Tweaked tweaks.sh file based on additional information learned and tested recently. (VM System Reading by s2d4 found <a title="Android VM System: Understanding It a Little More" href="http://goo.gl/bQgU0">here</a>)
Reduced number of available governors based on my personal testing... the 4 remaining should serve the needs of those looking for performance, battery life or anything in between.
Removed some more stuff no one used in the defconfig.
Release LA2 based initramfs version as stable (and make AOSP Support Unstable as we don't test that in GB)
Tweaked mount options for ext4 (extended Commit time to 30 and fall in line with the VM System tweaks implemented)
Change from SLQB to SLUB for a little less overhead (vs. a queued allocator) More info on SLUB here: http://lwn.net/Articles/229984/
Tweaked values in deadline and SIO I/O scheduler to give better throughput while attemting to keep a similar latency to the original (if not more aggressive) Based on my initial (indicative, not conclusive... yet) testing, having these in line with the vm dirty, expire, writeback values + ext4 commit=30 + laptop mode to "schedule" write outs to NAND based storage works quite well to balance throughput with latency expected in a mobile device. We took the big picture view instead of copy pasting random "known" good values and challenged some assumptions even we had at the start. The result is a mobile device tuned for good throughput and battery life with above average latency (not the lowest latency out there, but given the benefits of better I/O throughput and potential battery savings + extending the lifetime of NAND Based storage I think it was a compromise worth taking)
Remove V(R) and BFQv3r1 scheduler as the tweaked deadline, SIO and noop are the best we've tested for NAND filled mobile devices. (More on this later)
Added franciscofranco's deadline tweak that "Prevent aliased requests from starving other I/O"
Set deadline as default I/O scheduler
Tweaked deadline i/o fifo_batch for better throughput
Remove set_need_resched from rcutree.c based on https://github.com/drod2169/KangBang-OMAP/commit/717e7a22e42869418084701455c11e690a993fe8 which says:*"if we really are in an interrupt, the attempt to re-enter dyntick-idle mode will invoke*rcu_needs_cpu() in any case, which will force the check for RCU callbacks.*So this commit removes the check along with the set_need_resched()"
Experimental BTHID fix based on latest bthid.c from Samsung Source Releases I found on github (EK02 for Epic Touch 4G Released in December 2011... about 2 months after Update3 Sources were released for the i9100 and about the same time "BTHID broke" reports began coming in.) (Thanks to TDR for the source where I found this fix)
RedPill_Rev1.1
Adjusted Int Voltage of ARM and Busfreq to Stable Values across several devices
Added Imoseyon's suspend code to hyper and sleepy
Adjusted Touch Screen Values back to default (Thanks to Entropy for pointing this out)
Lowered Touch LED Values lower to dim the LED's a bit more.
Added Some Tweaks in the init.rc so they can be set from there and are consistent for anyone who uses the kernel.
Added some experimental compiler optimizations (Haven't noticed much difference, but we'll continue testing)
Enabled deep_sleep and fast_start by default in ondemand, hyper and sleepy
Added backported Conservative governor from 3.2
RedPillKernel_Rev1.0 (Final Rebrand to highlight the Power of Choice... formerly known as HyperKernel or HDK all older changelogs and commits since Update 3 are included)
Custom CWM Recovery made by af974 (Huge props to him!) based on Team Overcome Recovery (Huge props to them!)
-Enabled back key
-Enabled Power button to select (less chance of double pressing the Home Button and format sdcard fro some users)
-Reorganized, Inutitive layout and more Readable menu
-No/Yes Selection Tweak (If you know how to get to Recovery, you don't need that many "No's")
-Mount Internal AND Mount External from Recovery (We figured this would be quite Useful)
Tweaked NTFS automount script to support RW and use native ntfs built in the kernel instead of ntfs-3g (like stock kernel)
Adjusted Max CPU Freq to 1.5Ghz since its more stable then being at 1.6Ghz for those who like to OC
Fixed Bluetooth Devices not connecting properly because of the module not loading properly
Stripped the kernel modules used to bring the kernel size down a little more
Added Tegrak's Home Button Key Tweak (Thanks Tegrak)
Added Stochastic Fair Blue net scheduler (SFB)
Added [PATCH] lib/sha1: use the git implementation of SHA-1 by Mandeep Singh Baines <[email protected]> to improve boot performance by almost 12%
Added [PATCH] arm: remove "optimized" SHA1 routines by Linus Torvalds <[email protected]>
Added [PATCH] arm: remove stale export of 'sha_transform' Linus Torvalds <[email protected]>
Added ARM: 6941/1: cache: ensure MVA is cacheline aligned in flush_kern_dcache_area found here https://lkml.org/lkml/2011/6/16/174
Added ARM_ERRATA_754322 & ARM_ERRATA_754327
Tweaked the Tweaks File with more Tweaks so the Tweakers who like to Tweak can stop Tweaking as its Tweaked by default and No other Tweaks are needed to Tweak it even further. Any more Tweaking brings you to the law of diminishing returns... (you get the point so I'll stop there...)
Set Clockspeed at 1.2Ghz at Boot time to ensure all critical tasks have enough power to perform them while the governors/maxfreq isn't set yet. (Thanks to Imoseyon for this hack)
Add back default sampling_down_factor for Sleepy CPU Governor
Added [PATCH] mach-s5pv310: Make cpuidle AFTR entry less chatty by Entropy512 <[email protected]>
Added various clocksource patches from lkml.org (check the commit log for details)
Click to expand...
Click to collapse
Click to expand...
Click to collapse

Kernel Frequently Asked & Answered Questions (FAAAQ)
Where is the source for building this Kernel?
You can find the source HERE. I love GPL and We should all support Open Source Software and its Developers. Please Note that Open Source doesn't mean all of this magically wrote and patched itself... it takes a lot of our FREE time to do this and would appreciate if you let us know how you've improved the code.If you know what you're doing, you can easily build your own kernel too. *Please let me know if you have any improvements you feel should be included and send me a pull request. *If it tests okay, it may be included in the next release.
Does the RedPill support AOSP/MIUI/CM7 ROMs for i9100?
As of Rev1.3, I will not be working to making it work on AOSP/MIUI/CM7 as I only have enough time to test and maintain 1 build. When the ICS sources come out, I may have to make it support it again as the team may release an AOSP based ICS as well.
Why doesn’t the RedPill have high benchmarks?*
That’s done on purpose to keep YOU away. Seriously. The way the VM system is tweaked (dirty ratio’s, minfree values, etc.) + the focus on better throughput in any type of load + prioritizing data integrity by turning on fsync + a lot of other small tweaks all lead to good performance and battery drain in actual use (I like using my device and not keep it sleeping to bloat my battery stats, thank you). This may not give you the benchmark scores you want to be able to show off… which is good since it means YOU stay away from this kernel and continue to rely on benchmarks rather than actual usage.
Does the RedPill support other variants of the i9100 (like i9100g or i777)?
No. It supports only the i9100 International Version. *If you use it successfully on other i9100 variants, please let me know so I can update this page.
Is the Kernel Undervolted by default?
ARM Voltages are stock. Int Voltages and Busfreq Voltages are conservatively UV'd as seen in the source below...
CPU: L0=1500, L7=100
Code:
.index = L0,
.arm_volt = 1450000,
.int_volt = 1100000,
.index = L1,
.arm_volt = 1300000,
.int_volt = 1100000,
.index = L2,
.arm_volt = 1300000,
.int_volt = 1050000,
.index = L3,
.arm_volt = 1200000,
.int_volt = 1050000,
.index = L4,
.arm_volt = 1100000,
.int_volt = 1050000,
.index = L5,
.arm_volt = 1000000,
.int_volt = 975000,
.index = L6,
.arm_volt = 975000,
.int_volt = 950000,
.index = L7,
.arm_volt = 950000,
.int_volt = 925000,
Busfreq:
Code:
{LV_0, 400000, 1000000},
{LV_1, 267000, 975000},
{LV_2, 133000, 975000},
Why a tweaked deadline I/O scheduler?
The deadline I/O scheduler by Jens Axboe has proven itself as a low overhead, high throughput and acceptable latency I/O scheduler. *When tweaked for NAND based Mobile devices, it does even better. *While it "starves" writes by default with a 2:1 Read:Write ratio, this can easily be tuned via sysfs.
Why is my favorite governor (whichever it is) not available?
Simplicity is the Ultimate Sophistication, as Leonardo Da Vinci eloquently said. *Based on extensive testing and user feedback, we gathered that these 4 governors included gave the best performance and battery life on our device. Simple choice to have only the best ones available based on actual testing and feedback. *You will also note that I removed lulzactive and any interactive based governor. This was done after I realized that I was tweaking lulzactive, for example, to behave like governors that do the job perfectly already sans the sleep profile. *What I mean is setting a pump up step of 4 and tweaking other factors such as sampling rate and sample time along with cpu_load (inc and dec) made it behave like ondemand with a sleep profile... *I like it simple so I just included the tweaked and optimized ondemand with sleep profile instead. *You can also make lulz behave like conservative, so I included conservative in there. lulzactive is a tweakers dream... but those who like to keep it simple may find it takes time to configure correctly. *I included only these governors so you all have a simple choice to make in finding your favorite one. *These are all tunable via sysfs so you can skew it towards battery or performance based on what is important for you. *Don't expect uber smoothness and 6 hours screen-on time though... *there will be compromises when leaning towards any of the two factors most users consider important in a kernel.
What are the sleepy and hyper governors?**Experimental CPU Governors
(In order to keep all bugs properly attributed to my experiments and not the original author's, I have renamed it accordingly.)
sleepy (formerly know as solo) is an attempt to balance performance and battery life. Its based on the tweaked ondemand by arighi and is optimized for the SGS2. It includes imoseyon's ondemandx tweaks with some down_sampling and other features that users can set by echo'ing into sysfs. Sleepy is closer to ondemandx in behavior when in action.
It also features arighi's fast_start and deep_sleep detection features. It also suspends at 500Mhz.
hyper (formerly known as kenobi) is an aggressively smart and smooth tweaked and optimized for the SGS2 based on ondemand as tweaked by arighi with some ondemandx suspend features from imoseyon. (Added setting suspend_freq via sysfs and Imoseyon's Suspend Code) Hyper is closer to ondemand in behavior when in action.
It features arighi's fast_start and deep_sleep detection features. It also suspends at 500Mhz.
What is arighi's deep_sleep detection?
From arighi's description on the*<a title="deep_sleep commit" href="https://github.com/arighi/linux-gt-i9100/commit/719732552357f66b11f8c972575b440a8f97d64b">actual commit here:</a>
deep sleep detection via low-power idle notifier
Implement a deep sleep detection mechanism using a low-power idle*notifier introduced in 9487d11.
A new parameter is provided in the ondemand cpufreq governor and*exported in sysfs:
/sys/devices/system/cpu/cpufreq/ondemand/deep_sleep
The deep sleep detection is implemented using the following heuristic.
When deep sleep detection is enabled (deep_sleep = 1) if we detect that*the previous low-power idle state was more than 4x the sampling rate, it*means that we're probably going to enter to a deep sleep state or we're*just resuming from a deep sleep.
In both cases we completely ignore the cpu activity (considering it to*the minimum load), because probably there's a big chance to get back to*the deep sleep soon. If it happens, with this heuristic, the cpu will*enter the deep sleep state at the minimum frequency, that is good for*saving battery life.
What is arighi's fast_start detection?
From arighi's description on the <a title="fast_start commit" href="https://github.com/arighi/linux-gt-i9100/commit/df47f443192c3806277db6aed257421e33c4036f">actual commit here:</a>
fast start detection via low-power idle notifier
Implement a heuristic to detect interactive usage of the device and*boost the cpu frequency to the max.
A new parameter is provided in the ondemand cpufreq governor and*exported in sysfs:
/sys/devices/system/cpu/cpufreq/ondemand/fast_start
The fast start detection is implemented using the following heuristic.
If in the last 4 samples the cpu never entered in low-power idle state,*probably the cpu is very busy. In this case we jump to the maximum frequency immediately.
Why SLQB? (According to its author, Nick Piggin)*
”SLQB is a slab allocator that focuses on per-CPU scaling, and good performance with order-0 allocations. Fastpaths emphasis is placed on local allocaiton and freeing, but with a secondary goal of good remote freeing (freeing on another CPU from that which allocated).”
Why XZ Compression for the Kernel?
Its about 30% smaller and decompresses at just half the speed of gzip... I decided to use it as we have a lot of ram and raw cpu power that can easily handle the extra load xz compressed kernels
XZ compression is set to compress at -9 instead of the default -6 (since XZ decompresses faster when the archive is larger) delivers more performance since in kernel land you don't need to worry about compressing anything back to XZ, these gains in size were enough of a trade-off instead of using gzip by default. (Technically, gzip compressed kernels and initramfs are faster than any other compression method... but for our device we have a lot of raw CPU power and a lot of RAM) (more here http://tukaani.org/xz/)
Why ARM Topology and sched_mc?*(From linaro.org)
"The sched_mc function adds a power saving awareness to the Linux scheduler which is tuned for performance by default. When sched_mc is enabled, the scheduler tries to gather the running processes in a minimal number of cpus and clusters. This choice of the location of a process is done thanks to the cpu topology function which describes the affinity between cpus."
(more info here: https://wiki.linaro.org/WorkingGroups/PowerManagement/Specs/sched_mc)
Why RCU Fast No HZ?
"This option causes RCU to attempt to accelerate grace periods in order to allow CPUs to enter dynticks-idle state more quickly. On the other hand, this option increases the overhead of the dynticks-idle checking, particularly on systems with large numbers of CPUs." The power savings generated from using this, in my experience, outweigh the additional minimal overhead in checking dynticks-idle."
Why rename some modded CPU governors?
I chose to rename tweaked/edited governors as there may be bugs that I inadvertently add with my experiments and would like all these bugs to be properly documented as being introduced by myself. (Personally, it would be worse for me to introduce a bug in a current mainline CPU Governor with my experiments as I'm still learning about tweaking and making changes at this level... and from how I live my life, experience is the best teacher)
Ondemand, for example, is an old reliable and putting all the features I want in there will change the performance I have come to expect from it. I don't expect ondemand to have a sleep/suspend profile for example. So editing/tweaking/optimizing a governor and renaming is the way forward for me. I want to select "ondemand" and know that it will behave like it does in all my devices... reliably handling the load at the expense of battery life.(smoothness above all)
Where do I report Issues or Get Community Support?
Head over to the <a title="Official Kernel Release Thread" href="http://androidmeda.com/forum/index.php?topic=47.0">Androidmeda Forums Kernel release thread</a> or <a title="XDA Kernel Release Thread" href="http://forum.xda-developers.com/showthread.php?t=1288850">XDA Kernel release thread</a> to get support from fellow RedPill Users. *Make sure you included a dmesg or last_kmsg by following <a title="How To File Useful Bug Reports in Android" href="http://androidmeda.com/forum/index.php/topic,12.0.html">my guide on filing Bug Reports here.</a>
How do I show my appreciation? Can I donate to you?
You can show your appreciation concretely in several ways:
Pressing the "Thanks" Button on XDA
Signing Up to the Androidmeda Forums and Pressing the "Super Thanks" Button there
Report issues politely and completely
Donating any amount is completely up to you. *I look at donations as a "tip" for a job well done, rather than a "wage" or a "bounty" to get things done. *And Tipping is always up to you... the tipper. *I won't stop development if you don't donate, that's for sure, as I do this mainly for myself and my HyperDroid mates to begin with. I make more money running my own business than this hobby so “tips” are not a necessity… it just tells me how many people actually find the work useful enough to say thank you via a financial gesture.
This Kernel will ALWAYS be FREE to Download and USE, even if the time spent making it IS NOT FREE. *That's Open Source. (The time people spend on open source projects could have been used to spend more time with their families, for example. But the Devs commitment to get something done right is almost always tugging at him to Dev just a little bit more) *
*I've personally donated to Devs who've done things I would never have been able to figure out at the time they did figure stuff out. *Learning anything new takes time and time, in my book, is more important than money as I can't turn back time, while I can always earn money. SO I donate to Devs who spend their free time making Stuff better and easier for those of us who haven't figured out how to get it done.

Docs Surgeon
Docs Surgeon
​*The Screenshots are from the theme only, Touchwiz launcher is removed on the surgeon.[/B][/LEFT]
**The theme download (not surgeon) will theme your twlauncher/weather/clock like the screenshot above.[/COLOR][/FONT][/B][/SIZE]
Docs Surgeon script
List of APKs and other stuff is removed from Build when this is flashed
Features
Flashable over Androidmeda
Lucid based theme overall system using VRtheme modified (props to doctorcete)- autobackup made on sdcard for easy restoring
Custom made Screen transitions (doctorcete)
Removes samsung bloatware
Preserves samsung mail and im untouched and working
Removes entry from settings not to show kies wifi (doctorcete)
Prevents home key or volume to wake up device, only power button does (OP)
Changes dpi to 192 thus making rom as multidpi compatible as possible.
Changes the first boot logo to hyperdroid logo
Removes warm tint color thanks to (IntExCZ)
Removes gapps and adds latest gapps that had multidpi support (12/07/2011)
Removes twlauncher and replaces with launcherpro (easily replaceable before flashing, just remove Hyperdroid-LauncherPro.apk and add your desired launcher to /system/app inside zip file.
CM7 calculator
DSP manager
Keyboard with a comma thanks to petsasj
Adds some useful apps to data/app
Clear button to show on the bottom and centered
Changelog
v4.0 (09/12/2011)
General Theme tunning up, there is a loot of visual changes, u might consider flashing it even if you did not liked the them before.
Changed the updater scripts to be a bit more precise on pregress bars
Organized updater script
Removed all gapps but vending files form surgeon, now it is more compatible whit newer gapps versions sin its only replacing vending.apk
Updated to be compatible with new kk5 apk name changes
Updated to be compatible with Jkay 13.2 theme
This surgeon I believe is not universal.
v3.0 (26/11/2011)
Change Dialer pngs one more time
Added jkay v13.1 compatibility
Added XW and XX bases compatibility (theory only)
Change dialers pngs again
Retained FB social sync
Added dpi app changer thanks to innodroid
Added mdnie switcher thanks to freerunner
Added Fix permission script to be run at end of flashing to avoid permission management issues.
V2.2 (27/10/2011)
vrtheme to use latest installtheme.sh with fixed permissions
V2.1 (24/10/2011)
Changed the first boot logo to fit new boot animation
Removed build.prop modifying except for dpi change.
V2.0 (22/10/2011)
Updated now to jkay v12.1 support
Theoretically now all V2.0 Surgeons should be universal to be flashed over any other builds (needs testing and confirmation)
V1.4 (19/10/2011)
Changed the Clear button to show on the bottom and centered, note that since the carrier is on the same line of the button, whenever the clear button shows up, our carrier name will show up aswell.
Removed some sound from system at all that I ound anoyying (volume sound, charging sound, fully charged sound).
Removed samsung bootanimation at startup and shutdown animation as they arent being used and only taken up some space.
Alarm icon on status bar removed, wont show up there, but it will function normally
V1.3 (18/10/2011)
Included jay v12 support
Special modded keyboard by petsasj with comma at the right and dot at the left, if you find this unconfortable just go to his thread here and flash ur favorite keyboard, Dont forget to press thanks to him for the mod.
V1.2 (17/10/2011)
Reestructure of flashable zip file
Now Surgeon changes build number displayed, it should display code names at the end corresponding to the surgeon being used.
Changed the dialer theme thanks to (Cruznec)
V1.1 (06/10/2011)
Added more multidpi support to dialer
Launcher Pro Plus is now under /system/app and has been themed and shorcuts to the mms "bug" has been removed for your convinience. (doctorcete)
Download via HyperDroid Parts OTA Tool​

Pongster Surgeon Home
Welcome to my Surgeon,
This is my personal surgeon for the HyperDroid-Androidmeda for SGS2. I use this myself without any problems and I hope you enjoy it or use it as a base for your own Surgeon.
Features
Flashed over HyperDroid-Androidmeda
Fully deodexed
Frankentheme (MattedMidnight) heavily based on GingerWay Blue Ocean by antonda (link here) with PNG's from Jabbawalkee's MattedBlues, Sonnysekhon's Lucid and Monochrome and Nitroz and Pele of Black Android Theme for Gingerbread
Removes some samsung bloatware: mainly TouchWiz except for TWCalculator and TWCalendar
Prevents home key or volume to wake up device, only power button does (OP)
LauncherProPlus included by default (Thanks to Federico Carnales)
Mail and IM fully functional
Kies still functional
Jkay compatible
3G/G/Wifi and Network Signals turn White when connected to Google Servers
DPI is set at stock 192
MattedBlack...
Bootanimation is minimalist android text similar to default bootanimation in Android Emulator.
Creates a folder in your /sdcard named gscript which contains the most useful tweaks I personally use
7 Notification toggles for Jkay mod version at 160 dpi (Thanks to sicopat)
MultiDPI MusicPlayer.apk (works at densities from 160 and above) modded by pongster
160 dpi for FULL Android Market support
MattedBlack Franken Theme (Lucid + BAT Xtreme + BlueOcean +GingerGray)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Here is the LIST of the applications that have been removed. Read it, and if you need some applications that are removed, simply follow the instructions below.
Suggested Market Applications
Code:
Browser => [URL=https://market.android.com/details?id=com.opera.browser&feature=search_result]Opera Mobile[/URL]
News Feeds => [URL=https://market.android.com/details?id=com.alphonso.pulse&feature=search_result]Pulse[/URL]
Video Player => [URL=https://market.android.com/details?id=com.clov4r.android.nil&feature=search_result]Mobo Player[/URL]
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Screenshots of MattedMidnight Frankentheme
Click to expand...
Click to collapse
​
Click to expand...
Click to collapse
Screenshots of MattedBlack FrankenTheme
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Downloads
MattedMidnight
Theme available via the ROM Tool on v4.0
MattedBlack
(Available in Transparent only | 160 DPI (DON'T CHANGE THIS) | petsasj 160 DPI TW | pongsters MultiDPI MusicPlayer mod)
Available via the ROM Tool on v4.0
Click to expand...
Click to collapse
Click to expand...
Click to collapse
How to flash
Code:
0) Check the list of applications removed and modify for your own needs
1) Flash base
2) Flash any Delta Updates
3) Flash surgeon
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Instructions if you don't want to remove a specific application
Code:
Open zip, navigate to META-INF>com>google>android
Extract updater-script
Delete the line of the application that you don't want uninstalled
Save and replace original updater-script
Flash
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Credits
HyperDroid Dev team
doctorcete for the unique and powerful Surgeon
Seshmaru and Pulser_g2 for VR Theme
lidroid for his awesome little app
Jkay
petsasj
sicopat
Kahvitahra and "TSM" Sbrissen
antonda
Nitroz
sonnysekhon
mr.megi
dtekkt
LeoMar
MIUI ROM
The rest are mentioned in OP and Changelog portion already. If I forgot anyone, do let me know.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
=======================SURGEON CHANGELOG======================​
MattedBlack v4.0 (9/12/11)
Jkay 13.2 Support
Updated Themes of some Apps thanks do doctorcete (Clock, EMail, Phone, Samsung Keyboard)
MattedBlack v1.0 (11/10/11)
Initial Release
Huge Props to LeoMar for the Matte Dialer from his Revolution 2.7.1 Kitchen, mr.megi for DarkMIUI and dtekkt for MIUIBuntu and all original creators of the PNG's (as this is a frankentheme I put together, not created, please let me know if there are images that you created so I can credit you properly)
V2.0 (22/10/2011)
Updated now to jkay v12.1 support
Theoretically now all V2.0 Surgeons should be universal to be flashed over any other builds (needs testing and confirmation)
V1.3 (18/10/2011)
Included jkay v12 support
V1.2 (17/10/2011)
Reestructure of flashable zip file
Now Surgeon changes build number displayed, it should display code names at the end corresponding to the surgeon being used.
V1.1 (06/10/2011)
Hotfixed already to avoid bootloops, crashes or malfunctioning, everything now whould be smooth as butter
Added more multidpi support to dialer
Added SpareParts apk to data/app, please use it to uncheck "compatibility mode" and reboot.
Launcher Pro Plus is now under /system/app and has been themed and shorcuts to the mms "bug" has been removed for your convinience. (doctorcete)
V1.0 (05/10/2011)
Flashable over Androidmeda (Visit antonda's thread here)
Frankentheme (MattedMidnight) heavily based on GingerWay Blue Ocean by antonda (link here) with PNG's from Jabbawalkee's MattedBlues, Sonnysekhon's Lucid and Monochrome and Nitroz and (dev name here) of Black Theme for Gingerbread
Removes some samsung bloatware: mainly TouchWiz except for TWCalculator and TWCalendar
Prevents home key or volume to wake up device, only power button does (OP)
LauncherProPlus included by default (Thanks to Federico Carnales)
Mail and IM fully functional
Kies still functional
changes dpi to 182
Click to expand...
Click to collapse
Click to expand...
Click to collapse

Hello ladies and gents,
This is my surgeon for Androidmeda HyperDroid. I won't bore you with a long block of text. So here's a short layout of the features.
Features
Flashed over Androidmeda
Fully Odexed or Fully Deodexed (2 versions)
RTL patch compatible. For Jkay mod based builds you MUST use the deodexed version. For TSM both are working
Blue theme on most applications (I have drawn a line between blue being the dominant color and everything just being ... blue)
Stripped almost completely to the bone. About 90 system applications removed
Jkay or TSM mod compatible (2 separate versions)
3G/G/Wifi and Network Signals turn blue when connected to Google Servers
DPI is set at stock 240
Includes my modified TouchWiz Launcher (v2.4 Page Number 4 default Home Page)
Includes my modified Samsung Keyboard
3 very useful applications installed in /data/app (SmartRotator, AutoMountUSB, homeMYhome) and OdexMe in /system/app
Rosemary Fonts from SGS (select from Menu > Display > Screen Display)
Creates a folder in your /sdcard named Walls with SGS2 stock wallpapers and Galaxy Nexus Wallpapers
Up to 12 notifications in Jkay mod that are rearrangable. 5/6 notifications layouts (non-deluxe) come with a carbon fiber background.
Edited Settings.apk to remove unused entries
Here is the LIST of the applications that have been removed. Read it, and if you need some applications that will be getting removed, follow the instructions below.
Short description of the surgeon
This surgeon uses a unique reodexing script to turn the deodexed base ROM back to odexed. This script was done using bolts and bits of reodexing scripts floating around. (Jkay and TSM versions use different odexing scripts and procedure) Many kudos to those people.
This is best suited for the users that remove most bloatware and install Titanium Backup to restore their applications at once. Should you not be one of those users, there are some suggestions below to replace stock applications with.
It is prefered you use odexed themes. But you can flash deodexed themes, as well, so long as you leave /system/framework/*.jar's untouched. Open the theme .zip, note the apks that the theme contains and once installed, remove the appropriate odexes. Then run Paul's OdexMe application (this is an edited version).
Email and Email widget are included, however Premium accounts cannot be created. The push notifications of Social Hub does eat up a lot of RAM and Battery (a lot of battery in fact) so please use Hotmail/Yahoo mail push apps.
homeMYhome app (renamed for easiness into Double Tap - many thanks to c3k!) replaces VoiceToGo double tab feature with another app of your choice. Make sure you have Double Tap enabled if using Jkay's version.
AutoMountUsb enables USB automounting once plugged in, and SmartRotator allows you to select which applications you want to rotate or not
Suggested Market Applications
Code:
Browser => [URL="https://market.android.com/details?id=com.opera.browser&feature=search_result"]Opera Mobile[/URL]
Calculator => [URL="https://market.android.com/details?id=uk.co.nickfines.RealCalc&feature=search_result"]Real Calc[/URL]
Email => Hotmail/Yahoo push email apps
File Manager => [URL="https://market.android.com/details?id=com.speedsoftware.rootexplorer"]Root Explorer[/URL]
News Feeds => [URL="https://market.android.com/details?id=com.alphonso.pulse&feature=search_result"]Pulse[/URL]
Video Player => [URL="https://market.android.com/details?id=com.inisoft.mediaplayer.dice&hl=en"]Dice Player[/URL]
Screenshots of JKAY version
Downloads
Via OTA tool
How to flash
Code:
0) Check the list of applications removed
1) Flash base
2) Flash any Delta Updates (if any)
- 2.5) Flash RTL patch if you wish (for Jkay mod must be deodexed version)
3) Flash surgeon
Instructions if you don't want to remove a specific application
Code:
Open zip, navigate to META-INF>com>google>android
Extract updater-script
Delete the line of the application that you don't want uninstalled
Save and replace original updater-script
Flash
Last updated: 9/12/2011
Changelog
Code:
v4.0
fixed settings.apk xml files
updated pngs
updated for kk5
v3.0
ICS Transition animations
Ported ICS transitions to TW Launcher
Some more animations in menu elements
Included TW Launcher v2.4 (5 columns) - read my thread for how to
Included appzorter
Themed email widget (only works on 2x4/2x5)
Themed a bit more the status bar elements and lines
Some new wallpapers
Added back in Browser.apk due to issues being caused with CSC
Included S20color init.d script with edited mdnie values
v2.2 - fixed AOSP lockscreen sliders
Credits
HyperDroid Dev team
Seshmaru and pulser_g2 for VR Theme
Jkay for his mod
Paulobrien for OdexMe app (modified by Mekrel + some edits by me)
MANY THANKS to the creators of the reodexing scripts that helped me create this one
C3k for homeMYhome app (i love it!)
Capez for ICS transition animations here
If more, please pm me and i will add you asap

Nitroz BAT Xtreme theme
Note: All Credits to Pele for the theme, Nitroz did the port to our S2, he wanted to share this with all of us
Mr. Megui DarkMIUI theme port to vrtheme
Note: The theme contains all pngs mr.megui made for his original theme. In order to achieve transparent background for status bar i would have to edit it on base first so no transparent status bar. Still pending the centered clock too.
Download Via HyperDroid Parts OTA Tool​

Hi everybody,
Here is the SicOpaT's surgeon for Androidmeda HyperDroid.
Features
Flashed over Androidmeda
Now with Call recording and bigger contacts picture option (v2.1.1)
Gold and Black theme with semi transparent pulldown menu
Jkay or TSM mod compatible (2 separate versions)
Gold 3G/G/Wifi and Network Signals
Gold theme of contacts.apk
DPI is set at stock 240
Includes Yiannis modified TouchWiz Launcher (Page Number 1 = default Home Page)
Includes Yiannis modified keyboard with COMA
Nexus Prime Bootanimation (youtube video)
Gallery with Bounce effect *
Browser with Bounce effect *
* only after XDXD9 firmwares
Here is the LIST of the applications that have been removed. Read it, and if you need some applications that will be getting removed, follow the instructions below.
Short description of the surgeon
modification of Jkay HTC GoldEdge theme V13.1
wonderfull modified TW Launcher with 5 icons dock and 4 x 5 icons in Applications menu
idem for the coma keyboard
bounce effect back only in Browser and Gallery*
Screenshots of my JKAY version
Screenshots of TSM version
SOON
If you're having a hard time deciding over TSM or JKay, read the appropriate topics to help you out.
Jkay's mod
TSM mod (Kahvitahra's port)
Surgeon download links:
XDXD9 Jkay Version 3.0
olders :
XXKI4 Jkay Version 2.1
With Call Rec :
XXKI4 Jkay Version 2.1.1
Old versions :
XXKI3 Jkay Version 1.3
TSM surgeon Version (release soon)
VRTheme download links:
XXKI4 Jkay Version 2.1
How to flash
Code:
0) Check the list of applications removed
1) Flash base
2) Flash any Delta Updates
- 2.5) Flash RTL_patch if needed
3) Flash surgeon or VRTheme
Instructions if you don't want to remove a specific application
Code:
Open zip, navigate to META-INF>com>google>android
Extract updater-script
Delete the line of the application that you don't want uninstalled
Save and replace original updater-script
Flash
Credits
HyperDroid Dev team
Seshmaru and Pulser_g2 for VR Theme
lidroid for his awesome scrolling Toggle Bar
Jkay
Kahvitahra and "TSM" Sbrissen
Yiannis for his modified TWLauncher and keyboard
Matriak31 for nexus prime bootanimation
Vertumus for helping me in my theme
If more, please pm me and i will add you asap

Beta Testing​
No betas currently active, use official v3.0 version
Todo:
Update Superuser.apk inside kernel
Suggestion please

If you're having trouble with anything, the only way we can find out what's causing your Issues is If we have complete information.
The logcat/wakelocks/last_kmsg will do just that...
Simply reporting something doesn't work will not help... we all have different devices, different setups, different device manufacturing dates, etc...
If everything is set to default, everything works on our devices.​
How To File a Bug Report with Logcat:
Install android sdk
Install drivers for adb on PC
connect phone to PC
open cmd.exe or terminal
type 'adb logcat' without the quotes
start the app that causes the issues
wait for the app to close or get to the error
copy logcat contents and put in pastebin
copy pastebin links here
Click to expand...
Click to collapse
Click to expand...
Click to collapse
How To Find Wakelocks:
Install android sdk
Install drivers for adb on PC
connect phone to PC
open cmd.exe or terminal
type 'adb shell cat /proc/wakelocks > /sdcard/wakelocks.txt' without the quotes
copy contents and put in pastebin
copy pastebin links on your post
Click to expand...
Click to collapse
Click to expand...
Click to collapse
How To Get last_kmsg logs:
Install android sdk
Install drivers for adb on PC
connect phone to PC
open cmd.exe or terminal
type 'adb shell cat /proc/last_kmsg > /sdcard/last_kmsg.txt' without the quotes
copy contents and put in pastebin
copy pastebin links on your post
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Before filing a bug report, please consider the answer to these:
Is the bug reproducible?
How do you reproduce it?
What is the expected behavior?
What actually happens?
Do you have a Task Killer running?
Are you on the default Kernel?
Did you restore data of System Apps using Titanium Backup?
Click to expand...
Click to collapse
Click to expand...
Click to collapse

Kernel Changelog
HyperKernel HDK: The underrated, quietly confident and remarkably smooth kernel...​Kernel Source:​https://bitbucket.org/sarcastillo/ultimate-kernel-sgs2​
Download Link:​​The Latest HyperKernel is bundled with the newest HyperDroid.
A separate thread will be introduced that will usher in the release of the kernel download separately.
v1.2 is already in testing and will be released as soon as my heavy usage with heavy UV and OC are done. (In 3-5 days)​
FYI If anyone should ask... we currently use the CodeSourcery Lite Toolchain. I was just about to play with other Toolchains but decided against it because after doing some research I found this R&D by Ezekeel. Thanks to Ezekeel for the useful information.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
HyperKernel HDK v1.1
-Cleaned up choice of CPU Governors and reaaranged them so that when selecting them in CPU Control Apps such as VoltageControl by xan (which is highly recommended fo use with this kernel), its arranged by its "focus and intent" (based on extensive testing on all default Clocks and Voltages) from "battery focused to performance driven".
-With this focus on simplicity stated above, the only governors available are the following:
-lulzactive (interactive based cpu governor by Tegrak) extremely flexible... by default it has a screen off profile and can be tweaked using init.d scripts or the lulzactive app by Tegrak to be battery centric or performance oriented.
-sleepy (ondemand based cpu governor formerly called "solo" edited by Pongster) loves to sleep and idle at the lowest set frequency, hence the name change from "solo" to "sleepy". This can be tweaked and tuned using init.d scripts as well.
-conservative (good battery savings by default due to its slow ramp up and ramp down but tunable for performance) defaults are slightly tweaked for better performance than default conservative.
-lazy (ondemand based cpu governor by Ezekeel) described by Ezekeel as "maybe a better version of ondemand" and for good reason as it gives a good balance between battery life and performance. also tunable using init.d scripts.
-ondemandx (ondemand based cpu governor by Imoseyon) this features earlysuspend features and downsampling which looks for the lowest frequency which can sustain the load while keeping idle time over 30% and tries to try to decrease to this frequency.
-ondemand (old reliable thats been tweak by arighi to support deep_sleep and fast_start) these features try to detect if the CPU is coming from a deep sleep and is more likely to sleep again and thus limits its frequency to the lowest possible that can handle the operations needed. fast_start checks if the CPU needs more "ooomph" and jumps to the highest frequency faster to enable it to complete the operation the system needs to complete. (like during boot-up)
-Added sysfs interface for setting suspend frequency for sleepy CPU Governor. Default is 500Mhz. Min Frequency is 100Mhz, Max is 1.2Ghz (Why would you need to suspend beyond that right?)
-Added some tested tweaks from the past few months of testing with HyperDroid ROM.
-Removed the + sign at the end of the versioning thanks to franciscofranco.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
HyperKernel - HDKv1.0
-Consolidated all current features of the Ultimate Kernel and feel its matured enough to go by the name of the ROM. Enter the HyperKernel or HDK...
-Removed some governors that are not as effective based on testing. (Removed skywalker, SmartAssV2) Use lulzactive if you want an interactive based governor. There are 8 governors in total available. Default is kenobi. You can tweak it by echoing into sysfs as usual.
-Added some tweaks in Kernel thanks to Erasmux and everyone involved in the discussions HERE: http://forum.xda-developers.com/showthread.php?t=786919
-Enabled Kernel Debugging and Schedule Debugging for the tweaks from Erasmux et. al.
-Fixed LOUDER App Compatibility thanks to @supercurio and @gokhanmoral
-Integrated gokhanmoral's implementation of Tegrak's updated lulzactiveV2 (Huge props to Tegrak and gokhanmoral)
-Tuned lulzactive for HyperDroid defaults. (Can be changed using tegrak's lulzactive app from the market)
-[PATCH] ext4: fix ext4_end_io_dio() racing against fsync() from https://lkml.org/lkml/2011/12/16/311
Reported-by: Kent Overstreet <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Cc: [email protected]
-[PATCH] ext4: avoid hangs in ext4_da_should_update_i_disksize() from https://lkml.org/lkml/2011/12/16/344
Signed-off-by: Andrea Arcangeli <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Cc: [email protected]
-Added RWSEM from cattleprod's Github Repo c/o Code Aurora
-Change default AC charge current to 650
-Change Internal Voltage for each CPU Level from L2 to L7
-Change Bus Frequency Voltages (less 100mV)
-Fix typo in suspend.h and suspend.c
-Several Code Cleanups and optimizations for stability and performance
-Disabled Net_Sched Queueing and Traffic Shaping via Heirarchical Token Buckets (HTB) as no one was maximizing its use/presence in the kernel
-[PATCH] Added missing Android common patches that were previously included but overwritten by the 2.3.4 code drop, Samsung have not applied any new patches from the Android common kernel tree to their kernels. by Adam Green <[email protected]>
-Added lazy CPU governor by Ezekeel <[email protected]>
-Updated Kenobi to use lazy governor features + fast_start and deep_sleep detection
-Updated "LOUDER" kernel driver created by supercurio (Kernel drivers are ready and waiting for his App to increase volume)
-Add support for Tegrak's touchmove thanks to tegrak
-Modified cpufreq.h to follow samsung update3 default behavior when HI_ARMCLK_THAN_1_2GHZ is enabled
-Modified touchscreen locking CPU at L3 thanks to AndreiLux for pointing that out.
-Updated su binary thanks to ChainsDD (added ICS support for su)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v2.3 Ultimate
-Add [PATCH] kernel:smp: Match on_each_cpu behaviour on UP to SMP by Gilad Ben-Yossef <[email protected]>
-Add [PATCH] nohz: Remove ts->inidle checks before restarting the tick by Frederic Weisbecker <[email protected]>
-Enabled Smooth Scaling by default (Please use Voltage Control or init.d scripts to control your CPU or it will not work as expected)
-Now using Chainfire's CWM 5.0.2.7 Recovery (with no back key)
-Faster Recovery and Boot (slightly) due to the use of gzip for initramfs instead of xz... (still using xz for the kernel so the kernel is still 5.0MB)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v2.2 Ultimate
-Add other ARM Topology Patches [ARM: cpu topology: Add update_cpu_topology function]
-Added supercurio's voodoo modules (Huge props to supercurio)
-Load these via insmod at boot during post-init
Source for patches found here:
Exynos Yamaha Tweaks
https://github.com/project-voodoo/mc1n2_voodoo
Exynos ld9040 Tweaks
https://github.com/project-voodoo/ld9040_voodoo_exynos_galaxysii
ARM Topology Patches:
http://patches.linaro.org/5095/
v2.1 Ultimate
-Enabled AFTR by default and tweaked scheduling a little bit for performance.
-Patched to Add v5 ARM cpu topology definition by "Vincent Guittot"
-Enabled sched_mc_power_savings
Add ARM cpu topology definition
The affinity between ARM processors is defined in the MPIDR register.
We can identify which processors are in the same cluster,
and which ones have performance interdependency. We can define the
cpu topology of ARM platform, that is then used by sched_mc and sched_smt.
The default state of sched_mc and sched_smt config is disable.
When enabled, the behavior of the scheduler can be modified with
sched_mc_power_savings and sched_smt_power_savings sysfs interfaces.
ARM CPU topology
https://lkml.org/lkml/2011/7/4/250
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v2.0 Ultimate
Release Date 09/DEC/2011
Added the Ultimate CFS Patch
- Added [PATCH] CFS Autogroup: Implementation by Mike Galbraith as ported by faux123 for 2.6.35 kernels.
I (sarcastillo) additionally edited some things in sched.c to make it compile properly for 2.6.35.14 Samsung Sourced kernels
More info on this here: https://lkml.org/lkml/2010/11/20/91
Added some PPP Patches
- Added [PATCH] net: Reorder incoming packets in PPPoLAC and PPPoPNS by Chia-chi Yeh
Added some RCU and CPU-Hotplug Patches
- Added [PATCH] cpu-hotplug: Add the function 'cpu_hotplug_inprogress' by Maya Spivak
- Added [PATCH] printk: Don't allow cpu to get console lock during hotplugging by Maya Spivak
- Added [PATCH] rcu-tree: Check for extended quiescent state at start of gp by Maya Spivak
- Added [PATCH] sched: Do not block when waiting to free old root domain by Maya Spivak
More details on commit message on bitbucket
- Turned Off STACKTRACE, FTRACE and SEC_LOG
- Set USB_VBUS Draw to 450
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v1.9 Ultimate
- Added latest cpufreq patch by arighi that brings down battery consumption when the screen is on. More details on actual commit on my bitbucket git repo.
- Removed some files from initramfs to bring kernel down to 5.1MB (without sacrificing key features we want in our kernel)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v1.8 Ultima
- Kenobi set as default CPU governor
- Disabled ARM_UNWIND
- Fixed Recovery Loader to enable ROM Tool/OTA App to work with CWM 5
- Revert to --lzma2=dict=1MiB (increases initramfs a little and adds some gains in speed vs compression)
- Added zcache as backported by faux123 here: https://bitbucket.org/faux123 BUT I only enabled cleancache for now
zcache, tmem, cleancache info here: https://lwn.net/Articles/454795/
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v1.7 SynergySeries
- BFQv3r1 as default I/O scheduler
- Removed NTFS Support in the kernel as that's handle by ntfs-3g now
- Removed ReiserFS support here as well (as Recovery may not support it properly)
- Removed ext 2 support as the option for using ext4 as ext2 and ext3 is enabled
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v1.6 SynergySeries
- Added XZ decompression support for kernel headers and initramfs... (Thanks to faux123)
- Added some XZ related fixes thanks to the original contributors.
- Tweaked XZ compression to compress at -9 instead of the default -6 (since XZ decompresses faster when the archive is larger)
and since in kernel land you don't need to worry about compressing anything back to XZ, these gains in size were enough of a trade-off instead of using gzip by default.
(Technically, gzip compressed kernels and initramfs are faster than any other compression method...
but for our device we have a lot of raw CPU power and a lot of RAM) If you don't trust me, trust the smoothness of the kernel at its current setup.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Code:
Why XZ? Some XZ Decompression details: (more here [url]http://tukaani.org/xz/[/url])
- Its about 30% smaller and decompresses at just half the speed of gzip...
I decided to use it as we have a lot of ram and raw cpu power that can easily handle the extra load xz compressed kernels and initramfs bring...
based on my current understanding, it decompresses really fast so the boot time and other processes that depend on these are still fast while keeping the kernel lean and mean
- Huge props to Lasse Collin and Igor Pavlov for XZ... quite an amazing piece of work there.
- Our kernel with initramfs and complete features (nothing made as modules or removed) is only 5.8MB yup... you read that right...
v1.5
- BFQv3r1 included (backported from 2.6.38)
- Enable Net Scheduling and Queueing for a more stable and faster loading of pages and apps that depend on a network connection (e.g. Market)
HTB by default http://luxik.cdi.cz/~devik/qos/htb/
Why HTB? See here: http://luxik.cdi.cz/~devik/qos/htb
- Experimental Support for Non-Samsung ROM's thanks to gokhanmoral's siyah_feature_set which I ported from his kernel tree and used his initramfs as a base
- Experimental NTFS automount for OTG devices (you'll have to do a little more work to enable sdcard as ntfs) (Thanks to gokhan for the hotplug script)
Note: fuse.ko is built in statically into the kernel, as is cifs.ko and usbserial.ko
- Enabled fsync disabled (can be disabled by doing an echo "1" > /sys/module/sync/parameters/fsync_disabled in a terminal emulator or as a script for gscript or scriptmanager)
- Enabled fast_start and deep_sleep for 2 other ondemand based governors: solo and kenobi
- Turned Off CFS bandwidth for a small performance gain
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v1.4
- Made FUSE, CIFS and other .ko's part of the kernel.
- Fixed Voltage COntrol scripts not being set correctly at boot time.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v1.3
- bfq by default
- Experimental use of NET scheduling (HTB) for faster page loading when browsing (Market included)
- CWMManager now backups to external as required.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v1.2
- cleaned up kernel source code and initramfs
- User-level Release only (disabled kernel debugging)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
v1.1
- User-Level release removes kernel debugging to increase smoothness
- Touchscreen fix set to "3" for more responsiveness during games, etc.
- reorganized initramfs scripts (easier for devs to find as they're centralized now)
- fixed USB charge current by using the latest charge_current related code from Gokhan (he's the author of this feature)
- removed userspace, lagfree and SavagedZen, InteractiveX and brazilianwax governors
- brought kernel size down a little bit more
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Kernel Androidmeda TJK v1.0
Release Date 20/NOV/2011
Included Solo, Kenobi and Skywalker governors.
Reverted to Recovery 5.0.2.7 for stability and internal testings.
Tweaked recovery to show internal sd and external sd and point to correct path.
Included CWM 3.0
speeded up loading of init.d scripts
fuse.ko is now also loaded on boot
Deadline is default scheduler
Click to expand...
Click to collapse
Click to expand...
Click to collapse
OLD CHANGELOG​
Kernel Androidmeda TWD v2.5
Release Date 09/NOV/2011
Included lulzactive gorvernor
Reverted to Recovery 4.0.0.2 for stability and internal testings.
Reverted to stock voltage values to avoid SOD of cpus not handling well lower frequencies
Initramfs totally restructured again.
Kernel Androidmeda TWD v2.3
Release Date 30/OCT/2011
Fixed yet again inst-root.sh script
Included Fuse.ko and gspca.ko to lib modules (sorry about that)
Kernel Androidmeda TWD v2.2
Release Date 28/OCT/2011
Upgraded to recovery 5.0.2.7
Fixed instant root script as it was not working (thanks to pongster)
Enabled Thumbee for testing
Kernel Androidmeda TWD v2.0
Release Date 27/OCT/2011
Added the following features thanks to Speedmod huge thanks to him for sharing and the credits go to him and pongster for the merge into our kernel.
- MDNIE screen sharpness tuning (improves text readability)
- MDNIE color tuning (reduces over-saturation of color)
- Lower brightness at low-light levels
Updated Superuser.apk to 3.06 and latest bin for rooting
Updated Recovery to 5.0.2.6 (still no back key, sorry, we are working on that 24/7)
Kernel Androidmeda TWD v1.0
Release Date 24/OCT/2011
Based on update3 from samsung.
Removed CUSE support
cifs.ko is loaded now via init.d
user customizable charging speed (use at your own risk).via script on init.d, thanks to gokhanmoral
Committed Patch to fix fuel alert wakelock Thanks to Entropy512
Kernel Androidmeda DNR v3.1
Release Date 17/OCT/2011
CWM app backups on external sd card, to restore them u will have to manually copy those onto internal sd card (we actually find this useful to backups, so, while we are linked to sources on how to build recoery from source, we will stick with this option)
Making the backup from recovery makes the backup into internal sd card
Changed from SLQB to SLUB
Enabled Brazilinawax and SavagedZen governors for testing purposes
Released as an independent CWM zip file.
Kernel Androidmeda DNR v2.0
Release Date 14/OCT/2011
Initramfs from kI8
Dalvik is now back to data/dalvik-cache
ClockworkMod Recovery v5.0.2.3
Support for internal and external sd card on recovery
Several patches to kernel, see github for changelog
Superuser 3.05 (thanks to chainsdd)
Kernel Androidmeda DNR v1.0
Release Date 05/OCT/2011
Initramfs from kI3
Samsung kernel-update2 (patched for deep sleep fix)
Based on Arighi sources (arighi)
ClockworkMod Recovery v4.0.1.5
Custom boot logo and support for custom bootanimations (Props to Hellcat)
Dalvik cache moved to /dalvik located on p12 hidden partition and symlinked to data/dalvik-cache (Androidmeda Original Feature)
recovery modded to format /dalvik (currently wipe dalviks cache does not work, will be fixed in near future, as of right now, please use format /dalvik to wipe dalvik cache.)
Instant root (modded script by gokhanmoral of SiyahKernel with a few edits by pongster to ensure latest SU apk and binary are used.)
Superuser 3.0 (thanks to chainsdd)
Touchscreenfix (vitalij)
Init.d support
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Experimental CPU Governors:​
*Experimental CPU Governors:
Added 3 modded CPU Governors tweaked and optimized for the SGS2
*skywalker is a smart and smooth tweaked and optimized for the SGS2 based on SavagedZen. (Right now I just tweaked the numbers, but I plan to try and add more mini features. In order to keep all bugs properly attributed to my experiments and not the original author's, I have renamed it accordingly.)
It suspends at a freq of 500Mhz. It wakes up at 800Mhz.
*kenobi is an aggressively smart and smooth tweaked and optimized for the SGS2 based on ondemand as tweaked by arighi. I also ported the features of Ezekeel's lazy governor. (which is based on ondemand as well) (In order to keep all bugs properly attributed to my experiments and not the original author's, I have renamed it accordingly.)
*solo is an attempt to balance performance and battery life. Its based on the tweaked ondemand by arighi and is optimized for the SGS2. It includes imoseyon's ondemandx tweaks with some down_sampling and other features that users can set by echo'ing into sysfs.
It also features arighi's fast_start and deep_sleep detection features. It also suspends at a freq of 500Mhz.
Click to expand...
Click to collapse
Click to expand...
Click to collapse

Exciting news!
Can't wait to see what you've developed.
(First! )

Great use your hyperdroid on my HD2... Best Rom ever... I want to test what is better LeoMar75 Revolution rom or your hyperdroid rom!!!!
Send from my Revolution GT-I9100 using Tapatalk

well come to gs2 , waiting for your rom.
I'm from hd2.. Hyper is the best for ever.

Yes, finally released...
I didn't help much for this release but, i will give you my full support for next releases

Woooo, hyperdroid, I remember the days I had HD2, used to love your roms with 160 or 180 dpi screen resolution, welcome waiting for your rom, Regards.

Welcome pongster !!!!!!!!! warm greatings from India too !!!!!!!
We are honoured to have you on the Samsung Galaxy S2 forums !!!
Eagerly waiting for your work.
We need performance !!! Looks are secondary !!!
Best Regards,
Karan.

sweet and warm welcome !! nice to have you here !!
will support 100%

Related

[Kernel] [.38.8] intersectRaven's Kernel (AVS/CAVS)01/08/2011 22:00

This is my own personally compiled kernel based on the latest kernel from Cyanogen's Github repository with Kmobs' undervolt modifications, CodeAurora's AVS code, pershoot and rotohammer's audio gain mod and several compiler optimizations based on initial idea from psyq.
Only major releases will be advertised here.
All changes since 05/05 can be found at my Euroskank host:
http://intersectraven.euroskank.com/kernels/
*Thanks to RyanMacG for the free hosting!
Old uploads with minor changes can be found at my MediaFire folder or my Bitpad folder:
http://www.bitpad.co.uk/intersectraven
http://www.mediafire.com/intersectRaven
Major features:
- based on latest Cyanogen Mod kernel source from his GitHub repository
- numerous compiler optimizations with a custom compiler by redstar3894
- all CPU power governors for user dependent tweaking of power saving method
- Hybrid AVS (Adaptive Voltage Scaling combined with Static Voltage Scaling) support for maximum possible power savings dependent on CPU requirements and a customizable version (CAVS) for people who like to tweak how far their N1s can go
- universal update.zip template made by Koush
Instructions:
1.) Reboot to recovery and flash the update.zip directly.
OR
Instructions for zImage and bcm4329.ko driver extracted from the update.zip(from command line):
1.) adb remount
2.) adb push bcm4329.ko /system/lib/modules
3.) adb reboot bootloader
4.) fastboot flash zimage zImage
5.) fastboot reboot
OR
Use ADB GUI by minooch found here:
http://forum.xda-developers.com/showthread.php?t=666964
*please note the instructions...push the wifi driver BEFORE rebooting for flashing zImage...if your wifi is turned on when you reboot before you pushed the wifi driver for the kernel, there is a chance that you will go into a bootloop due to the incompatible wifi driver!
Changelog:
20120108_2143:
- just merged pershoot's commits
20111203_11XX:
- enabled MSM EHCI
20111114_23XX:
- integrated CM's commits (mainly bluetooth and WiFi fixes)
20111111_19XX:
- compiled using updated Mjolnir/Linaro compiler hybrid (having problems with our Mjolnir GCC)
- enabled SYN_COOKIES as requested
- some tweaks to the VFS settings
- switched network scheduler to SFB
- switched TCP congestion to Veno from YeaH (seems it's better for devices with a greater chance of random drops of packets)
20111010_11XX:
- disable CleanCache for YAFFS (too complex to change)
- more proper reapplication of changes from 3.0
20111009_22XX:
- enabled CleanCache for YAFFS, EXT3 and EXT4 (experimental)
20111008_23XX:
- ported BogoMIPS calibration from 3.0
- added CleanCache from 3.0
- switched to SIO from BFQ
- block IO batching from 3.0
- activate_pages batching from 3.0
20110904_07XX:
- added SmartAssV2 CPU governor
20110828_13XX:
- fix AVS to actually work (see previous latest post for apology... )
*this should restore the instability on some devices that can't handle AVS
20110828_00XX:
- prevent excessive suspend attempts
- optimized sha1 implementation
20110813_15XX:
- increased NAND buffer to 8k similar to codeaurora's version
- enabled 8-bit transfers for when the MMC card supports it
20110724_20XX:
- SmartAss improvement from the test kernels
- AVS code improvement also from the test kernels (hopefully improved the stability)
- RCU optimizations
- updated Mjolnir compiler
20110713_10XX:
- re-hauled SmartAss governor:
* interactive threads instead of workqueues to improve responsiveness when ramping-up frequencies
* reduced stepping frequency to use lower frequencies more
20110707_08XX:
- fixed the Voice Search problem
20110706_09XX:
- code cleanup
- additional tweaks
20110628_09XX:
- ARM improvements to memcpy and memmove operations from Wildfire (arco's kernel source)
- cherry-picked serial number commit from CM kernel
20110608_21XX:
- rebased everything together with removal of worthless commits
- added 2 new governors from SavagedZen kernel (SavagedZen & InteractiveX)
- updated code of Smartass governor to the one in SavagedZen since it seems more updated than the one I found
20110527_21XX:
- new method for addressing slow writes on USB from CodeAurora (although it's still slow using native USB mount and I didn't test using another mounter)
- some SIRC potential bug fixes
- input event handling modification from Google
20110523_08XX:
- compiled using updated Mjolnir
20110522_11XX:
- upgraded to v2.6.38.7
20110521_15XX:
- interrupt masking
- smd_tty buffer limit implementation
20110519_22XX:
- fix for potential bug and power leak improvement in DSP driver
- GPIO tweaks
20110516_19XX:
- increased DMA zone to 14MB (may speed some things or may not)
- timer workarounds have been removed as they're unneccessary on Scorpion
- prevent reading from write-only registers (just silly)
- used relaxed access functions for some functions
- remove extra interrupts sent from the SMD channel
20110515_21XX:
- added another commit from android unmerged which implements a watchdog to catch lockups during device resume
- fix for wakelocks which addresses the problem where while being connected to a computer, any attempt to power up will result in display immediately shutting off with touchscreen buttons still on
- uses an updated Mjolnir compiler
20110514_17XX:
- rebased everything
- removed some commits which were useless on the N1
- more zen branches merged
- WiFi-Fast patch has been integrated in all kernels since it seems to have no effect on battery (no more separate WiFi-Fast release)
20110511_22XX:
- reverted a change made to PMEM driver since the commit it was reliant to was reverted (sorry! didn't notice this...I wasn't too critical of my earlier cherry-picks... )
Link to a file which contains all kernels:
http://hotfile.com/dl/117478444/390f688/intersectR_-_20110511_22XX.zip.html
20110510_18XX:
- updated to 2.6.38.6
- committed some more video driver commits from CodeAurora
Link to a file which contains all kernels:
http://hotfile.com/dl/117350839/0a9a504/intersectR_-_20110510_18XX.zip.html
20110509_14XX:
- merged some commits from Android repositories that were still unmerged yet may prove useful for Ashmem and RPC
Link to a file which contains all kernels:
http://hotfile.com/dl/117209820/5b7fe7b/intersectR_-_20110509_14XX.zip.html
20110507_21XX:
- even more improvements from CodeAurora
Link to a file which contains all kernels:
http://hotfile.com/dl/117048553/0831385/intersectR_-_20110507_21XX.zip.html
20110506_15XX-16XX:
- enabled cache error reporting as this is indicative of how tolerant your N1 is to AVS undervolting
- smartass governor (from Temasek)
*this was mistakenly included in the previous release
- a minor kernel scheduling statistic commit
Link to a file which contains all kernels:
http://hotfile.com/dl/116922979/5fb2ec0/intersectR_-_20110506_15XX-16XX.zip.html
20110505_16XX-17XX:
- updated Mjolnir compiler
Link to a file which contains all kernels:
http://hotfile.com/dl/116827854/5839b43/intersectR_-_20110505_16XX-17XX.zip.html
20110505_08XX-09XX:
- AVS and CAVS now both allow changing of voltages on-the-fly. The only difference now is that AVS is undervolted by default while CAVS is undervolted to the same voltages that CM uses in his SVS kernel
- uses eviollet's on-the-fly voltage modification system instead of the previous one I had which is a lot more flexible
Link to a file which contains all kernels:
http://hotfile.com/dl/116798881/0d5b5bf/intersectR_-_20110505_08XX-09XX.zip.html
20110503_09XX:
- updated to version 2.6.38.5
Link to a file which contains all kernels:
http://hotfile.com/dl/116600585/b76a4b6/intersectR_-_20110503_09XX.zip.html
20110502_10XX:
- synced with pershoot's latest modifications which mirror CM's latest addition with regards to USB accessory function (not too important I think since it seems to be for future ADB use)
- uses an updated Mjolnir compiler (20110429)
Link to a file which contains all kernels:
http://hotfile.com/dl/116528049/1865aa6/intersectR_-_20110502_10XX.zip.html
20110424_11XX:
- reverted WiFi driver to same version CM uses for mainline kernel to fix channel 11 issues with the newest one
20110422_12XX:
- updated to 2.6.38.4
- compiler updated
20110421_15XX-16XX:
- first files to be hosted by Bitpad (http://www.bitpad.co.uk/intersectraven/)
*Thanks to MajorProbes
- just a minor release since I only updated the compiler
20110416_20XX:
- several compiler optimizations enabled (loop unrolling, peeling, etc.)
- zen-kernel cherry-picks for memory and fs optimization
20110415_23XX:
- updated to 2.6.38.3
- compiled using latest Mjolnir with an experimental merge by redstar
20110409_23XX:
- integrated a bluetooth fix and MMC quirks improvement from official Google repositories
20110407_13XX-14XX:
- integrate CM commits on futex optimization and removal of dodgy optimizations
20110403_12XX:
- fix for USB transfer speed (should now hold at 1MB/s without dropping)
20110401_22XX-23XX:
- first 2.6.38.2 release based on pershoot's 2.6.38
- added the usual mix (AVS, SLQB, CodeAurora patches, etc.)
- compiled using Mjolnir GCC 4.6.1
- changed FPU optimization to NEON
20110328_08XX-09XX:
- updated to 2.6.37.6
20110328_07XX:
- compiled using Mjolnir GCC4.6.0
- enabled Link Time Optimization and Graphite Optimization (use Google for definitions)
20110326_08XX:
- updated BFQ to v2-r1
20110324_18XX:
- updated to 2.6.37.5
20110320_17XX:
- merged Nick Piggin's RCU patches which were originally for 2.6.38 (one of the things Linux was excited about according to Phoronix)
20110319_09XX:
- merged latest CM kernel commits which enables the ff:
- enabled RCU boost
- enabled touchscreen filter (reduce CPU load made by touchscreen)
20110315_22XX:
- updated to 2.6.37.4
20110312_23XX:
- round 2 of CM's wonk fix attempt integrated
- toolchain update
*for links, go to my MediaFire folder as specified above
20110311_1623:
- integrated cyan's wonk fix attempt
- VPN "fix" (I don't like this one since it's just a backport of the old PPP interfaces)
*for links, go to my MediaFire folder as specified above
20110308_2246:
- updated to .37.3
- based on CM's latest kernel source
- with SLQB and BFQ v2
- regular and customizable AVS
- some CodeAurora patches
*for links, go to my MediaFire folder as specified above
20110213_1506:
- corrected minimum voltage value to 800mV
CFS-HAVS-CM7-NOBOOST -> http://www.mediafire.com/?m32mi1744ksb55m
20110213_1035:
- test release for new AVS-CUSTOMIZEABLE build which allows for runtime customization of AVS minimum and maximum limiters for more flexible AVS voltages depending on your CPU tolerance (/sys/module/avs/parameters/avs_adjust)
- AVS debugging outputs can also be toggled in runtime (/sys/module/avs/parameters/avs_debug -> set to 0 to not display, 1 to display)
CFS-HAVS-CM7-NOBOOST -> http://www.mediafire.com/?bt7mmtlmg407ne1
*format for avs_adjust is:
frequency,minimum voltage,maximum voltage
e.g.
echo 245000,925,975 > avs_adjust
**AVS debugging output will be enabled by default when you modify the limits
Finally created a github to store all of my kernel modifications:
http://github.com/intersectRaven/
To follow me for updates on Twitter:
http://www.twitter.com/intersectRaven
[Kernel] [.35.10, .37] intersectRaven's Kernel (HAVS-AXI-FM-720p-Zen)1/9/2011 10:13
Reserved for intersectRaven - Added 2post to allow OP to have more place for futur update
Finally a thread!
been using your kernels for some time now, good work!
---------------------------------------------------------------
Updates: I thought I'll use this space to provide some info since its right next to the OP
BFS:
BFS is the Brain **** Scheduler. It was designed to be forward looking only,
make the most of lower spec machines, and not scale to massive hardware. ie
it is a desktop orientated scheduler, with extremely low latencies for
excellent interactivity by design rather than "calculated", with rigid
fairness, nice priority distribution and extreme scalability within normal
load levels.
http://ck.kolivas.org/patches/bfs/bfs-faq.txt
CFS
Completely Fair Scheduler is the name of a task scheduler which was merged into the 2.6.23 release of the Linux kernel. It handles CPU resource allocation for executing processes, and aims to maximize overall CPU utilization while maximizing interactive performance.
http://en.wikipedia.org/wiki/Completely_Fair_Scheduler
Comparison of BFS vs CFS: http://www.cs.unm.edu/~eschulte/data/bfs-v-cfs_groves-knockel-schulte.pdf
Conclusion
The results indicate that CFS outperformed BFS with minimizing turnaround time but that BFS
outperformed CFS for minimizing latency. This indicates that BFS is better for interactive tasks
that block on I/O or user input and that CFS is better for batch processing that is CPU bound.
Click to expand...
Click to collapse
can i use this kernel along with the desire camera app?
britoso said:
Finally a thread!
been using your kernels for some time now, good work!
Click to expand...
Click to collapse
Had my dog press the enter key to prevent me from chickening out.
jblazea50 said:
can i use this kernel along with the desire camera app?
Click to expand...
Click to collapse
I haven't tested it so I don't know if it needs something from the kernel to work.
@intersectRaven - in the http://forum.xda-developers.com/showthread.php?p=6003800#post6003800Audio Mod thread rotohammer incorporated settings that increased both the bluetooth and in-call/earpiece volume. is your audio fix for a headset/bluetooth headset and/or does it incorporate higher values for in-call volume as well? thanks!
cortez.i said:
@intersectRaven - in the http://forum.xda-developers.com/showthread.php?p=6003800#post6003800Audio Mod thread rotohammer incorporated settings that increased both the bluetooth and in-call/earpiece volume. is your audio fix for a headset/bluetooth headset and/or does it incorporate higher values for in-call volume as well? thanks!
Click to expand...
Click to collapse
Hmmm...thanks for pointing that out. I'll probably release a new version later which will have this. (loading my Nexus Compilation Environment VM now...)
*Edit: I recompiled with the .min and .max settings he specified but reading further back it seems he changed some other things so I can't be sure if just this will provide the volume increase desired.
cortez.i said:
@intersectRaven - in the http://forum.xda-developers.com/showthread.php?p=6003800#post6003800Audio Mod thread rotohammer incorporated settings that increased both the bluetooth and in-call/earpiece volume. is your audio fix for a headset/bluetooth headset and/or does it incorporate higher values for in-call volume as well? thanks!
Click to expand...
Click to collapse
Hmmm...thanks for pointing that out. I'll probably release a new version later which will have this. (loading my Nexus Compilation Environment VM now...)
*Edit: I recompiled with the .min and .max settings he specified but reading further back it seems he changed some other things so I can't be sure if just this will provide the volume increase desired.
intersectRaven said:
I haven't tested it so I don't know if it needs something from the kernel to work.
Click to expand...
Click to collapse
It works. I thought you incorporated the audio fix yesterday too!
britoso said:
It works. I thought you incorporated the audio fix yesterday too!
Click to expand...
Click to collapse
I just compiled one with higher settings based on rotohammer's research. I think I'll stick with the default ones in my previous version though so its okay to skip this latest one.
For those who wanted to try out the modified values:
http://www.mediafire.com/?dqynw1inh3y <= 2.6.32
http://www.mediafire.com/?mmjwxzjlmmw <= 2.6.33
I'm working on a mod that will allow us to change the min_vol and max_vol from a file. Kernel SOP dictates this not advised, but I don't have time to learn how to implement a procfs hook.
I also used the voltages specified by kmobs so there should be no difference with the voltages. .32 is from the android kernel source while .33 is from cyanogen's. .32 is the stable kernel while .33 is still in its experimental stage.
Thanks a lot I've been looking for something like this!
intersectRaven, any chance to release Overclock kernel ?
1267Mhz on the nexus one will be great. hahahaha
rheza02 said:
intersectRaven, any chance to release Overclock kernel ?
1267Mhz on the nexus one will be great. hahahaha
Click to expand...
Click to collapse
haha...I'll think about it...I don't have the courage to try an OCed version though so you'll have to test it yourself if ever!
intersectRaven said:
I just compiled one with higher settings based on rotohammer's research. I think I'll stick with the default ones in my previous version though so its okay to skip this latest one.
For those who wanted to try out the modified values:
http://www.mediafire.com/?dqynw1inh3y <= 2.6.32
http://www.mediafire.com/?mmjwxzjlmmw <= 2.6.33
Click to expand...
Click to collapse
i'm currently using MoDaCo Alpha 19, which reports using a 2.6.33.1 kernel. so i would use the 2.6.33 version, correct? just to confirm, are your volume values the same as used by rotohammer? also, where is the zImage stored on my device, that is if it's actually saved at all (yes, i am a newbie, lol). thanks!
cortez.i said:
i'm currently using MoDaCo Alpha 19, which reports using a 2.6.33.1 kernel. so i would use the 2.6.33 version, correct? just to confirm, are your volume values the same as used by rotohammer? also, where is the zImage stored on my device, that is if it's actually saved at all (yes, i am a newbie, lol). thanks!
Click to expand...
Click to collapse
yes u would use the .33 if ever...the links u quoted does use rotohammer's values...and lastly, the zimage is flashed onto the image/kernel area in your device's boot partition...oh and no shame being a noob...we were all noobs once...
This kernel crash on my nexus one with desire camera when I try to see a video.
Anyone can confirm this?
www1 said:
This kernel crash on my nexus one with desire camera when I try to see a video.
Anyone can confirm this?
Click to expand...
Click to collapse
I just recorded a video with the desire camera app and played it back fine.

[KERNEL][PLAY] LuPuSv12-GB [STOCK-GB][LINARO 4.7.3][UPDATED 07-09-13]

LuPuS-STOCK-GB
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Based Off SONY 4.0.2.A.0.84 Sources​
Disclaimer
Code:
[COLOR="DarkOrchid"]#include[/COLOR] [COLOR="Magenta"]<std_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]
Included in Kernel-
-24 governors (ondemand default)
-6 io-schedulers (sio default)
-O/C up to 2ghz although not recommended
-fudgeswap
-slqb memory allocator
- Increased zram disk size
- Increased zram to 30%
- Changed LZO --- Benchmarks show compression and decompression times performance increased by double
- Linaro optimizations from my ics-beta
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 (recommended) change with nothrills cpu or similar app
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.
Overclocked to 2ghz--- don't think its to stable though---
Please give feedback wether its stable for you or not if you overclock
FudgeSwap
-Helps improve multi-tasking in low memory situations forcing apps to swap.(already in DooM's sources)
SLQB - (SLAB allocator with Queue)-
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).
Recoveries
TWRP = Volume UP
CWMVolume DOWN
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
0/ UKSM
1/ CIFS Menu *
Enable
Disable
2/ zRam Menu *
Enable
Disable
Set zRam size ( default is 60)
3/ Frandom Menu *
Enable
Disable
4/ Clean and Remove tweaks
Remove init.d's
5/ 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
6/ 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
I would like to say a big thanks to -
paxChristos
KeiranFTW
DooMLoRD
Solomon4400 - For helping me test
tempest918 - For the Logo
xeozus
nobodyAtall
Faux123
Erasmus
Leedroid
Jerpelea
Phil3759
CTCaer
Anyone missing please PM me
downloads/changes in post 2
Kernel sources -b master
https://github.com/garwedgess/Xperia-2011-Kernel-2.6.32.9
CWM source -- https://github.com/garwedgess/android_bootable_recovery -b lupus-cwm
Changelog
Code:
[hide]
[B][U]v2[/U][/B]
[LIST]
[*]- Fixed Problems Mounting SD-Card
- Changed Recovery Images
- Added 2 New Governors
- Superbad- a "superbad" super smooth rendition of a highly optimized "smartass" governor! --- fast and smooth
- Darkside - a "slightly more agressive smart" optimized governor! --- fast and smooth
[/LIST]
[B][U]v3[/U][/B]
[LIST]
[*]- Changes to make it smoother
- Try make better battery life
- New CPU Freq Table (first time I can overclock to 1.8ghz on my PLAY)
[/LIST]
[B][U]v4[/U][/B]
*** Forgotten version - never released ***
[B][U]v5[/U][/B]
[LIST]
[*]~ Added in .400ghz on freq table (handy while listening to music-pointed out to me)
~ Added governor -[COLOR=Green][B] Intellidemand2[/B][/COLOR]
~ Kgsl - use highest performance level on wake-up from sleep
~ Lowered cpu freq on boot time, to avoid any issues on booting with the new freq table
~ KSM added
[/LIST]
[B][U]v6[/U][/B]
[LIST]
[*]- Re worked from source(still DooMs)
- 720p version & 480p version (372mb RAM)
- Fixed battery drain new kernel last much longer :)
- Wifi modules built in - thanks @[URL="http://forum.xda-developers.com/member.php?u=1844875"]CosmicDan[/URL] for script
- Memcopy
- Memory allocator
- Updated/ patched & fixed LZO
- Compaction
- Lowered vfs_cache_pressure
- Disabled gentle_fair_sleepers
- LMK optimizations (LowMemoryKiller)
- Linaro optimzations
- Improved CIFS support
- NTFS
- KSM
- Updated SIO Io-Scheduler
- Revert to 1.6 OC (for now)
- Google Snappy compression / decompression
[/LIST]
[B]v7[/B]
- Built with Linaro 4.7.3
- Added Io-Scheduler ZEN
- Added SmartassH3 Governor
- Stop Entropy from depleting
- Frandom
- Optimize Deadline IO- Scheduler
- Backport Binder from CAF 3.4.0
- Backport timed_gpio from CAF
- Update LMK
- Remove Fudgeswap
- Added Zcache
- CFS tweaks for responsivness
- Update Compaction
- Makefile optimzations
- ARM optimizations
- Optimzed Tiny RCU
- Added optimized crc32 lib from faux123
- Logger Backported from CAF
- Entropy tweaks
- Free'd RAM from logger
- fsync
- Custom partition layout ( larger data partition)
- Updated Smartassv2
- Quick keyboard reset (hold HOME + POWER)
- Snapdragon optiizations
- Improved boot time
- Improved wifi to load at first boot
- Removed Autoroot feature
- Updated and re-worked ramdisk
- Fix to check if device is CDMA if it is kernel will fix wifi
- TWRP Recovery = Volume UP
- Updated CWM = Volume DOWN
- LuPuS Menu Included
- No more modules needed to be flashed
- Reduced Kernel size
[B]v8[/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...
[B]v9[/B]
- Added ROW IO-Scheduler
- Tweaked Governors
[list]smartassV2
smartassH3
virtuous
lionheart
conservative
brazillianwax
lulzactive
superbad
darkside[/list]
- Improved wifi loading
- Disabled Key Reset (can be enbled in LuPuS Menu)
- mm: do uninterruptible sleep
- Reverted Entropy Patch [b](To see if lag in gaming is gone, if not let me know so I can re-add this patch)[/b]
- Other minor changes
---- CWM updated to 6.0.3.2
- Disable recovery flash will now remove nAa recovery so to be sure device does not boot into wrong CWM.
- 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.
- Clean-up of UI
- Some other changes which will be in CWM v6.0.3.3
---- Complete Ramdisk Clean up & Improvment
- Cam fix for CDMA, if r800x is in build.prop kernel will install camera.lib
- Reworked booting
- Supports m2sd and other ap2sd scripts
- 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 in /data/local/tmp/
- Improved init.d
- lupus menu clean up and improvement
- 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][U]v10[/U][/B]
- Rebased on SONY 4.0.2.A.0.84 kernel source
- Tweaked SIO
- Tuned ROW
- Fixed all Governors to work 100% on GB
- Tweaked CPU on GB
- Removed all debigging
- Use zRam from SONY .13 ICS source
- Fixed Google Snappy zRam so device actually uses it
- More Battery friendly
- Removed SFB Net Scheduler
- Updated Tiny RCU to Bloatwatch Edition
- reverted touchpad update
[B]v11[/B]
- Fixed LAG in gaming
[/hide]
[B]v12[/B]
- Added UKSM ( can enable it in LuPuS Menu)
- Set default swapiness to 20
- Removed fsync
- Removed Cleancache
- Removed zCache
- Removed ZEN IO-SCheduler
- Tweaked Entropy
- Stopped entropy from depleting
- Fix LEDs
- Updated CWM
* brought back reboot system and Power off options to main menu
* Fixed advanced restore menu
* updated to latest CWM source
- Minor Clean-up of lupus menu
- Minor Ramdisk changes
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.
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]
If coming from version before v7, you need to wipe all partitions..
======================== 720p Recording ========================
LuPuS_zeus_GingerBreadv12-full.img
md5 = 16294503408d6a0bf3e1cf6b89c252fc
======================== 480p Recording ========================
LuPuS_zeus_GingerBreadv12.5-ram.img
md5 = 73c431d94849d65a87acd23982b75202
If your MD5's don't match then re-download before saying it doesnt work
*******No need to flash wifi modules they are only in attachments as a backup*******
Important
Coming from a kernel with STOCK partitions??
Via fastboot enter the commands:
Code:
fastboot erase userdata
fastboot erase system
You must wipe userdata and system if coming from a STOCK partirion kernel, Otherwise u will be stuck in a loop
Click to expand...
Click to collapse
.
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.
Now download CifsManager or similar app and configure it
Zram is not enabled by default- to enable it flash the wedgess-NEW-Zram-Enabler.zip below
If for whatever reason you want to disable it after you have flashed the .zip, just go to ect/init.d and delete 00zram
Cool, glad to see you got it working even if its not liking some of the governors.
wedgess said:
Downloads HERE
LuPuS-GB-LiNaRo.img
LuPuS-GB-WiFi-MoDuLeS.zip - (needed for working wifi)
Please Click Thanks
Click to expand...
Click to collapse
So what do you think is the best combination of governor/scheduler for gaming?
Update your ROM and tell us how it goes.
Good news,
thanks for your work man, tonight i'm gonna put some Wolf in my phone.
I hope it is as performant as your ics work.
Thanks
No lag here. Will post if there's any problems.
Wedgess thanks for making a gb kernel but can you add CDMA support for those of us on R800x on your spare time? If you dont mind I will fill you in about my xperia play.
This is a thread from doomlord that has a working CDMA kernel which is based on version 2.3.3 gb. Doomlord was able to create a 2.3.4 kernel for us R800x users but camera functionality doesn't work at all. (I was hoping for the thread to be revived but it seems development has been put to a stop) So were stuck on doomlord gb 2.3.3. Currently I'm using kernel v1 from doomlord that has a working recovery and i am not using v2 posted in the thread below.
http://forum.xda-developers.com/showthread.php?t=1368636
Since you don't have the device (that im aware of) I don't mind testing it if you wish :highfive:
Does the zram enable by default?? Or do we need to enable it??
thi3um said:
Good news,
thanks for your work man, tonight i'm gonna put some Wolf in my phone.
I hope it is as performant as your ics work.
Thanks
Click to expand...
Click to collapse
lol thanks bro its just ae smooth if not.......
chery2k said:
Wedgess thanks for making a gb kernel but can you add CDMA support for those of us on R800x on your spare time? If you dont mind I will fill you in about my xperia play.
This is a thread from doomlord that has a working CDMA kernel which is based on version 2.3.3 gb. Doomlord was able to create a 2.3.4 kernel for us R800x users but camera functionality doesn't work at all. (I was hoping for the thread to be revived but it seems development has been put to a stop) So were stuck on doomlord gb 2.3.3. Currently I'm using kernel v1 from doomlord that has a working recovery and i am not using v2 posted in the thread below.
http://forum.xda-developers.com/showthread.php?t=1368636
Since you don't have the device (that im aware of) I don't mind testing it if you wish :highfive:
Click to expand...
Click to collapse
oh ok, ill do a cdma version tomorrow or sometime over the next few days. pm me ur gtalk u can test
sdojoin said:
Does the zram enable by default?? Or do we need to enable it??
Click to expand...
Click to collapse
No it should be enabled by default
Sent from my R800i using xda premium
Thanks!! Gonna will try it asap.
You are now our KernelLord lol
Im on way to class & can't test now but I will asap. I would love to see if u found a way 2 speed up the already fast GB.
Sent from my R800i using xda premium
Does your kernel hav autoroot feature?? Just curious. I can't seem to go to my system directory using script manager. Is it just me or does anybody else hav the same issue?? It sure are feels a bit smooth than dooms'kernel.
sdojoin said:
Does your kernel hav autoroot feature?? Just curious. I can't seem to go to my system directory using script manager. Is it just me or does anybody else hav the same issue?? It sure are feels a bit smooth than dooms'kernel.
Click to expand...
Click to collapse
ye it has autoroot.ive used script manager just there to check it had no problems going to the system directory opened straight away. ye I never used dooms that much but this seems really smooth, still havent switched back to ics yet
Sent from my R800i using xda app-developers app
wedgess said:
ye it has autoroot.ive used script manager just there to check it had no problems going to the system directory opened straight away. ye I never used dooms that much but this seems really smooth, still havent switched back to ics yet
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Mybe i'm doing something wrong. Nova 3 seems to act pretty weird to. I really wonder... Mybe i should giv it a day or 2 just to get it use to with me phone hardware. Thanks again.:thumbup:
Edit; Do u think i should wipe cache n dalvik cache on the 1st boot after switching?? Mybe i should just do it just to be sure.
Originally Posted by wedgess
ye it has autoroot.ive used script manager just there to check it had no problems going to the system directory opened straight away. ye I never used dooms that much but this seems really smooth, still havent switched back to ics yet
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Mybe i'm doing something wrong. Nova 3 seems to act pretty weird to. I really wonder... Mybe i should giv it a day or 2 just to get it use to with me phone hardware. Thanks again.:thumbup:
Edit; Do u think i should wipe cache n dalvik cache on the 1st boot after switching?? Mybe i should just do it just to be sure.
Click to expand...
Click to collapse
Strange alright i tried nova3 earlier and had no problems with it, it ran smooth for me, I say wipe it to see if it makes any difference for you, no hatm in trying.
Sent from my R800i using xda app-developers app
wedgess said:
Strange alright i tried nova3 earlier and had no problems with it, it ran smooth for me, I say wipe it to see if it makes any difference for you, no hatm in trying.
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Just did. Yupp it does makes a diff. Thanks man. Nova 3 respons a bit faster n the graphic seems a lot better too. Weird...
Mybe u should make a GB Linaro rom to match this kernel.
sdojoin said:
Just did. Yupp it does makes a diff. Thanks man. Nova 3 respons a bit faster n the graphic seems a lot better too. Weird...
Mybe u should make a GB Linaro rom to match this kernel.
Click to expand...
Click to collapse
good stuff, glad to hear I know but my linux is running out of space due to the amount of kernel sources I have lol.ill have to push them all to github to make the 25gb+ space needed, which will take awhile Hoping some rom devs will release linaro built roms now, we’ll see though
Sent from my R800i using xda app-developers app
I'll give this a try with DiXperia 2 rom this rom is fastest I've seen so far with doomkernel v14. I used lupus v4 with few ics roms and ran beautifully. Missed the great gaming in gb so this is very welcome as doomlord has moved onto htc one x thanks so much can't wait to try your kernel
I'm on dixperia 2 as well , will test it too. bye the way is this kernel support CIFS mounting ?
EDIT : working great, using Virtuous governor with SIO and it's really fast, coupling with dixperia2 its hell fast
I'm using a lot of launched apps (holo launcher, holo locker, whatsapp, viber, maps, setcpu for profiles, button sevior,
callrecorder, incredicontrol, exdialer, ivona, facebook, tasker, jellyB live wallpaper) have 87 Mo free RAM and its still fast and snappier than ever thanks to ZRAM and dixperia2 tweeks
CIFS isn't enabled and still have insmod problems like in doomkernel , @wedgess could you enable it in next update plz !

[KERNEL][PLAY] LuPuS_JBv13 [JB 4.1 &4.2][LINARO 4.7.3][v8Multiboot][06-06-13]

LuPuS JellyBean v13 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"
}
LuPuS-CM9-Kernel HERE
LuPuS-STOCK-GB Kernel HERE
LuPuS-iCs-BeTa Kernel HERE
Just after downloading AOKP jellybean last night and wanted to use my kernel so thought I would
make another LuPuS and release it, obviously certain things are still meehhhhh like the CWM glitching
and the camera which are things in all Xplay JB kernels/ROMS. So I reduced it down a bit from FXP and
given an extra 18mb of Ram so its not 368mb Ram, don't wanna go any lower. Once camera is fixed i'll make a 720p
version as well. Everything else thats added is the same with my most recent CM9 update.
This kernel was just built so its up-to-date with all of FXP's sources
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)
Bluetooth
Everything Else that works on FXP and any other JB kernel
What doesn't work --
ALS (Disabled)
Anything that doesn't work on FXP and any other JB kernel
Included in kernel
Added Io-schedulers --
- Noop
- Anticipatory
- Deadline
- CFQ
- BFQ
- SIO
Added Governors --
- lagfree
- brazillianwax
- smoothass
- scary
- savagedzen
- smartass
- smartassv2
- interactivex
- minmax
- + the 5or6 that are there with FXP
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
- Updated zRam
- Lzo compression/decompression speed doubled on average
--When phone vibrates tap the vol-down key to enter Multiboot menu
I would like to say a big thanks to -
paxChristos - Tutorial / Help
FXP - Sources
Cyanogenmod - Souces
DooMLoRD - Everything he's done for XPLay
CosmicDan - Multiboot
Supervenom - For the amazing AOKP rom
Solomon4400 - For helping me test
tempest918 - For the New Logo
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-Jellybean-DOWNLOADS
Code:
[B][U]-v2 changes[/U][/B]
- Added Governor Intellidemand thanks to faux123 and CosmicDan for modifying it
- Variuos improvements to make for smoother android
- built with linaro v 4.6
- Changed recovery entering will now flash green, pink and blue (PACman colours :) )
- cleancache , zram, and new lzo compression have been reverted for now
- Changed sources to newest CM so that there is no random freezes ect
[U][B]
- v3 changes[/B][/U]
- Reverted back to zImage
- Added cpu-freq table now upto 2ghz
- Increased VM-max read ahead
- Works now on PAC-man v2
[B][U]
- V4 changelog[/U][/B]
- Updated to latest FXP sources
- Updated GENLOCK (FXP)
- Added cleancache
- Re - Enabled CIFS
[U][B]v5 changes[/B][/U]
- Fixed battery dran
- Updated SIO IO-schedule
- Reverted 2ghz to 1.6ghz
- Updated LZO compression / Decompression
- Further optimzed
[B][U]v6 changes
[/U][/B]
- Multiboot Kernel ~ Thanks [user=320362]@comic[/user]Dan
- Recovery Fixed no more "DANCING" Thanks [user=3365554]@Skrit[/user]chz
- Added Tiny RCU
- Added Custom partition sizes ~ Thanks [user=1844875]@CosmicDan[/user]
- Patched LZO
- Updated to Linaro 4.7 toolchain
- Changed to Google snappy compression/decompression
- Much more optimizations
- Wifi Modules included ~ Thanks [user=1844875]@CosmicDan[/user]
[B][U]v7 changes[/U][/B]
- TWRP recovery (fully touch)
- Enabled USB tether
- Disabled gentle_fair_sleepers
- Updated video drivers
- Added memcopy
- Added compaction
- Backported binder changes
- Lowered vfs_cache_pressure
- LMK (lowmemorykiller) optimizations
- All latest multiboot changes from [B [user=1844875]@CosmicDan[/user] huge thanks[/B]
- Moved 30MB from userdata to system. [B]NANDROID BACKUP BEFORE UPGRADING YOUR KERNEL.[/B] -Thanks [user=1844875]@CosmicDan[/user]
[B][U]v8[/U][/B]
- Latest MultiBoot Changes ---- Huge Thanks [user=1844875]@CosmicDan[/user]
- Built with Linaro 4.7.3 (02-01-2013)
- Fix Entropy Depleting (no more depleting) - Thanks @ Kees Cook
- Fix PageHead
- Fix binder. use of uninitialized variable.
- Fix kernel/net Memory Leaks
- Eliminate kstrdup memory leak
- 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
- ipv4: force_igmp_version ignored when a IGMPv3 query received
- enable ipsec tunnel support in kernel (Latest FXP Change)
- ARM7 optimsations + more in config
[B]v9[/B] [B][COLOR="Red"] IN POST 3[/COLOR][/B]
[B][COLOR="Red"]Note if coming from a multiboot kernel you must wipe ALL partitions[/COLOR][/B]
- No multiboot
- No need to flash phoenix vendor - partitions are stock for now
- Supports both 4.1 & 4.2 JB
- New IIO Scheduler ZEN thanks @bbedward
- New Governor smartassH3 thanks [user=3057569]@Hero[/user]
- Tweaked Deadline IO scheduler
- Tweaked smartassv2
- Frandom
- Wifi improvement
- SFB Net scheduler
- OC up to 1804.8MHz
- Logger backported from CAF
[COLOR="Magenta"]- ALS is enabled by default - You can disable it from LuPuS Menu[/COLOR]
- 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]v10[/B]
- Latest changes to ALS -- Thanks @ FXP
- Lowered OC to 1612.8Mhz
- Remove ALS option from LuPuS Menu (no longer needed)
- Random reboots should be fixed ( for those who where having such issues )
[B]v11[/B]
- UN-RELEASED
[B]v12[/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
Multiboot[/SIZE][/U][/B]
For help and support on Multiboot, please check fma965's thread - "Noob friendly guide to Multibooting Jellybean"​
Requirements:
Unlocked Vendor partition (see "Download/Installation" below)
System size below 310MB
ICS Only - AOSP-based ROM (not stock-based)
Click to expand...
Click to collapse
Features:
Huge thanks @CosmicDan
ICS and JB Support
One kernel, two worlds... you can install any AOSP-based ICS ROM (e.g. CM9, AOKP, etc) in any Slot (as long as it's multiboot aware, see below) and it will work automatically.
Team Win Recovery Project
CWM-Recovery has been replaced with the powerful TWRP. Full touch interface, file browser, backup names with keyboard, batch ZIP install, and more.
Multiboot RAMDisk
Pressing Vol-Down will now show a GUI for selecting which slot you want to boot or enter recovery on. Slot 2 and 3 are stored in ext2 images on your SDCard, and the process is fully automated and well-detailed to guide you through it. Please note that you can only install a ZIP in Recovery for Slot 2 and 3 if it is marked "Multiboot-aware" (see Compatibility section below).
Repair Tools
The Tools > Repair menu allows you to check your sdcard and sd-ext for errors and repair them. Also fix permissions and scan/repair Slot 2 and 3. This solves a lot of common problems with data and app2sd issues.
609MB data partition space
Cache is reduced to 8MB and system reduced to 280MB, giving a total size of 639MB for data. The ROM must be smaller than 280MB for this to work obviously (see "tested" section below). The cache is only 8MB so the kernel automatically links /cache/dalvik-cache to /data/dalvik-cache (simulates MIUI behavior).
Wifi Module auto-install
If the wifi module on the system doesn't exist or is different to the one in the ramdisk, it will be installed/replaced automatically. As an additional fail-safe, the kernel has magic checking (module version) removed - so any module will install on this kernel (but that does not mean it will work!)
Click to expand...
Click to collapse
Compatibility
The kernel has been tested and working on the following ROM's -
Turbo UI Preview (CosmicDan's source build) (Multiboot-aware)
Project Jellyzeus AOSP (CosmicDan's source build) (Multiboot-aware)
SlimBean for Xperia Play GSM/CDMA (cj360's source build) (Multiboot-aware)
P.A.C Man-PA (wedgess' source build) (Multiboot-aware)
Paranoid Android (wedgess' source build) (Multiboot-aware)
CM10 (Not multiboot-aware)
CM9 (Not multiboot-aware)
Please report if it works or not for other Jellybean/ICS-AOSP ROM's.
Click to expand...
Click to collapse
Bugs/Important Caveats
If your ROM has a "Reboot to Recovery" option, using it will load a broken Recovery where no mounts work. I can't fix this, so simply don't use it (just use Vol-Down on normal reboot).
Using Fastboot may trigger a "boot menu loop" - simply enter CWM-Recovery for any slot and then select reboot to solve it.
Click to expand...
Click to collapse
Important info regarding safe Multiboot
Do NOT install a ROM ZIP in Slot 2 or 3 until it is marked "multiboot-aware". Otherwise the ROM will format/install to your internal, no matter *what* you do. For details on how to make a ROM multiboot-aware, see this post.
To get around a ROM not being multiboot aware (if you want to install it in Slot 2 or 3), simply install in Internal (Slot 1) as normal, then set up the second or third slot with "Copy from Internal" instead of "Blank". Then of course you can reformat and reinstall on Internal.
Make sure your SDCard is free of errors. If you encounter *any* issues with a ROM, do a full Repair in the Tools menu before reporting any issues.
*Never* unmount SDCard in Recovery for Slot 2 and 3. But Mounting USB Storage is 100% fine.
Click to expand...
Click to collapse
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.
#####################################################################################################################
LuPuSv8-720p-jB-Kernel.img
Md5 = 0x39750d29497af539a3810b4b877fd5e0
LuPuSv8-480p-jB-Kernel.img
Md5 = 0x965333fb455d7f077dfa1f7428058d6a
If wifi doesnt work flashable zip is attached at the bottom of the post
#####################################################################################################################[/LIST]
First-time users - Enter Multiboot Menu (Vol-Down key) and go to Internal > Recovery, then format system, data and cache before doing anything else. Very important.
If you cannot enter the Boot Menu or Recovery after flashing, you need to flash the FTF first.
If you are running LuPuS-jB-v6 or older, the partition map has changed (30MB moved from data to system). You MUST Nandroid Backup before flashing the v7 update, then Nandroid restore after flashing. Otherwise you WILL lose your data.
Click to expand...
Click to collapse
If your MD5# doesn't match re-download
LuPuS v13
Changelog
Code:
[B]v13[/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.
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
sh 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/ Clean and Remove tweaks
Remove init.d's
5/ 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
6/ Choose Recovery
TWRP
CWM
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.
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.
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_zeus_jBv13-ram.img
md5 = d3588985ea241c4e44cf27be30b74b0f
720p
LuPuS_zeus_jBv13-full.img
md5 = 9d5d17ca438ae745a793a6841b320f48
You are awesome
when you leave a rom jelly bean with touchpad and camera working support me step by JB definitely .. meanwhile I stay with my dear GB
JB Lupus kernel (Linaro) + rom JB (Linaro) that combination would be good ..
You're Wedgess.
Enjoying this kernel quite a lot Figured I'd say thanks and bump this thread at the same time
Zerosuit Connor said:
Enjoying this kernel quite a lot Figured I'd say thanks and bump this thread at the same time
Click to expand...
Click to collapse
Good stuff ill update it with fxps latest changes this week. And click thanks in the OP, better then saying it
Sent from my GT-I9300
Hey Wedgess ... Thanks for the awesome kernel.... Could you do one more thing ....The volume output everywhere(loudspeaker, ear speaker etc.) is very low...Can you increase it ???
vrkamath2020 said:
Hey Wedgess ... Thanks for the awesome kernel.... Could you do one more thing ....The volume output everywhere(loudspeaker, ear speaker etc.) is very low...Can you increase it ???
Click to expand...
Click to collapse
Yp same here but this bug from the rom not from the kernel
MonY960 said:
Yp same here but this bug from the rom not from the kernel
Click to expand...
Click to collapse
Ohh...hehe....kkk....I guess, i'll ask the developer in the rom's post ....thank you for pointing it out...
can you make a CM10 based one for arc? thanks alot. i just installed Paranoid Android and i wanna try it out!
peanutheng said:
can you make a CM10 based one for arc? thanks alot. i just installed Paranoid Android and i wanna try it out!
Click to expand...
Click to collapse
Could but Wi-Fi is the problem in arc /s with cm based if I can figure it out then try. But going update this first
Sent from my GT-I9300
wedgess said:
Could but Wi-Fi is the problem in arc /s with cm based if I can figure it out then try. But going update this first
Sent from my GT-I9300
Click to expand...
Click to collapse
alright thanks ^^
wedgess said:
Could but Wi-Fi is the problem in arc /s with cm based if I can figure it out then try. But going update this first
Sent from my GT-I9300
Click to expand...
Click to collapse
So, can't you use files from CM10 anzu roms???
caqo71 said:
So, can't you use files from CM10 anzu roms???
Click to expand...
Click to collapse
This was a week ago, I got wifi going I will be releasing for ur devices maybe tomorrow please keep this on its thread. But no I can't unless I was just to add governors and then it would work with CM10 only not AOKP or other CM10 roms a hich will probably come soon
Sent from my GT-I9300
Is this based on fxp137?
Sent from my Xperia Play using xda premium
hitman980206 said:
Is this based on fxp137?
Sent from my Xperia Play using xda
Click to expand...
Click to collapse
no it will be tomorrow though have the kernel there just goin make a few changes to get it smoother and build with linaro
Sent from my GT-I9300
Cm 10 base jb Fxp 139
It this work for xperia arc cm 10 FXP 139. ?
DaveX2012 said:
It this work for xperia arc cm 10 FXP 139. ?
Click to expand...
Click to collapse
Considering ur on the PLAY development thread no. Go to the ARC thread
Sent from my GT-I9300
Why should I use this as opposed to the default kernel that comes with FXP?

[KERNEL][ICS] ** CTCaer Kernel ** v2.8.2 [UKSM][UV/OC][Triple Buffering][RAM Hacks]

CTCaer Kernel ICS version v2.8.2
*Light. Fast. Triple Buffering. More Total Ram. Entropy*
{
"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"
}
Updated: 8 September 2013
Features:
Based on Lupus kernel .587/.13 sources
Compiled with Linaro 4.7.3
CWM by DoomLord
Works with stock wifi modules
Overclock to safe 1.4 GHz with Qualcomm's frequencies for less battery drain (max is 1.6Ghz)
Deep undervolting with aire's values
15MB more total ram
Triple Buffering like jellybean
Auto rooting with latest superuser 3.2 binaries
Init.d support (fixed double triggering, even when using install-recovery.sh method)
Dual Recovery. TWRP (volume keys), CWM (power key)
Kernel/Memory Optimizations:
UKSM (saves 20-65mb ram)
Optimised Low Memory Killer
Random Entropy generator fixes and tweaks
frandom + replaced random/urandom with frandom/erandom
Compaction for LMK
Better Memcopy/Memove
Tiny RCU for smaller memory footprint
CPU group schedulling
Cleancache
Better pmem
Kernel Samepage Merging (Can't be used in the end)
Optimized and faster Swap and Zram
Thumbee support
ARMv7a optimizations
lowered vfs cache pressure
Optimized cpufreq/governors
And more tweaks for a smoother and faster Kernel
Script to clean unused ramdisk files after boot, to free up ram (9mb)
File systems:
ntfs, ext2/3/4, filesystems support
jbd2 journaling for ext fs
CIFS, FUSE and Usb OTG Storage
512KB SD read ahead (faster reads without hogging the cpu and ram)
sd-ext support
Other:
Updated LZO
2 way call recording
Google's Snappy Compression and Decompression
Better WiFi range and enabled channel 14
0% battery patch by Bazoocaze
Working ADB and usb in Recovery, plus rooted shell
Usb network tethering
Key reset
Governor Schedulers :
Ondemandx
Performance
SmartassV2 (tweaked+fixed scheduling) [Default]
Superbad (tweaked)
lulzactiveV2
Badass
IO Schedulers :
Noop
SIO [Default]
ROW (experimental)
BFQ
CFQ
deadline
For more, check changelogs from post 2.
Info about some mods:
1.4Ghz Overclock + UV. Kept Qualcomm's frequencies table as proved to have less battery drain for some reason.
The undervoltaging is max -50mV on most frequencies, as to avoid error corrections from low voltage (errors in calculations increases drain a lot) and also to avoid cpu halts. Needs further investigating for lower values.
Now using aire's values, the best for battery for over a year.
11mb ram freed from camera and adsp pmem. This came from many tests that showed that when taking 8mp pictures, 720p video (w/ or w/o stabilizer), playing 720p video with hw decoding and hw audio decoding audio, the used pmem was max 42MB for camera pmem and 6MB for adsp. Can be freed 7-8Mb more but didnt do it for stability reasons under multimedia multitasking.
That also shows us that the stabilizer lag in camera doesn't come from the pmems. I'll try to check the camera sources and see if it's driver related.
If you find anything strange with anything that use the camera or the DSP tell me and please provide logcat logs.
Triple Buffering. At last some JB goodies to us using stock. This gives great UI and game Frame rates (tested). It uses the normal mode (as we don't have the vsync sync pulse like JB, which also auto disables it when not needed), and that means that it doesn't introduces slight lag to input. In games if you see something strange though please reply in this thread.
Random Entropy Generator. Fixes and tweaks to random generator. And also to binfmt_elf, no more entropy depletion through using shell, scripts and generally any binary. Say no to blocking random, and enjoy a smoother UI.
Now with frandom for 50x more performance.
Governors/IO scheds. No bloating here. Kept only the best for battery and performance.
The default ones are the highly optimized. If you have some tweaks for all schedulers that will increase battery and performance (always in balance), don't hesitate to tell me.
Key reset. You can reboot your phone when kernel halts or something brought your phone to its knees by pressing
Power + Home for 5s. Don't do it just for restarting it fast! This does not good to your filesystem because they can't sync,
so you can lose changes made the last seconds. Also after initiating it you don't have to press both buttons for the remaining 4s.
In 2.8 the combination is Power + Home + Volume Up for 5s.
Twrp and Cwm differences. TWRP and CWM are both recovery apps but use different apis.
CWM use nandroid backup and TWRP uses it's own.
CWM uses and old recovery API (v2) and TWRP use the newest recovery API 3
That means that you can't use a backup made with cwm in twrp, and vice versa.
In TWRP, some flashable zip will not work, until they have a newer update-binary (that supports API 3).
(That's the one provided by Team Win: update-binary-3)
If you want other info, again write here. And last but not least the kernel version number 0.8a doesn't mean that's beta. The kernel right now is highly optimized and working. The version just means that I'll try many things more to make our phone better.
Thanks:
wedgess for his great Lupus kernel sources.
aire and vdsirotkin for their great kernels that i used for many months at both GB and ICS.
DooMLoRD Well you all know why
thomas1991_12 and championswimmer for help and twrp binary accordingly
And to all Freexperia Project members for their great patches and fixes to our phones.
Changelogs
Click the link to view the changelogs or go directly to post 2
DISCLAIMER for sharing outside xda:
It got to my attention that the kernel is shared in many boards outside xda
and especially in many Asian ones. It's fine to make a complete copy of OP and changelog,
I don't mind, but you have to provide a link to this thread.
Also, the most important, please use my links for kernel binaries. If you don't do this, I can't see usage stats of my kernel.
That's why I use mediafire. It's fast, supports multiple connections, no wait time and is usable in every country.
Downloads and Sources:
Main Version:
CTCaer Kernel v2.8 1.4GHz + UV
or
CTCaer Kernel 2.8.2 UKSM special version
The special version may not work for you, cause of lower voltages. After 20 sept, i'll do proper releases.
Vdd Version:
DISCLAIMER: I will not provide help on reboots and bootloops on 1.6GHz + VDD control version.
It's here for people that need 1.6ghz and voltage control only. Default speed is 1.0Ghz.
CTCaer Kernel v2.8 1.6GHz + VDD control
If you want to use usb storage, ntfs and more you can flash these modules (if not, they are optional):
Modules for CIFS, NTFS, FUSE and USB Storage v2 ** Updated **
The updated modules bring: Updated cifs,fuse,ntfs,usb-storage and adds nls_utf8 for Unicode support, plus oprofile for people that want debugging.
CTCaer Kernel needs stock wifi modules. If you changed them, flash this:
Stock .13 WiFi modules
If you came from a kernel that you had to flash custom modules, use the flash zip above to have the stock ones again.
Some kernels, like Lupus, change the modules on their own, by just flashing the kernel and powering on the phone.
The original with Lupus are moved in /system/lib/modules.old.
Info for going back from Lupus
Many thanks @arcatarc for providing the flashable update zip.
Old Versions:
CTCaer Kernel v2.7 1.4GHz + UV
CTCaer Kernel v2.7 1.6GHz + VDD control
CTCaer Kernel v2.6 1.4GHz + UV
CTCaer Kernel v2.6 1.6GHz + VDD control
CTCaer Kernel v2.52
CTCaer Kernel v2.51
CTCaer Kernel v2.5
CTCaer Kernel v2
CTCaer Kernel v0.8a
Modules for CIFS, NTFS, FUSE and USB Storage v1
And as per GPL here are the forked sources:
https://github.com/CTCaer/CTCaer-ICS-Xperia2011
For v2.7,2.8 check v2.8 branch, because currently, I don't have time to push commits one by one.
For compiling, I used Linaro 4.7.3 and ctcaer_urushi_defconfig (1.4GHz+UV) and ctcaerVDD_urushi_defconfig (1.6GHz+Vdd)
If you liked my kernel click THANKS!
Changelog:
Older:
v0.8a:
*Initial Release.
v0.9 (renamed to v2):
*Added 1.6Ghz (UVed)
*Removed Ondemand
*Added OndemandX cpu scheduler
*Added CFQ i/o scheduler
*Removed autoroot
*Changed ro.secure to 0 for rooted ADB on default
*More ram (because of ramdisk's reduced size)
*Fixed Kernel Samepage Merging startup.
*Reduced freq to 1Ghz for kernel booting (to avoid 1.6ghz's drain). Comes back to 1.4Ghz for at bootanimation.
*Some more ramdisk changes
v2.5:
*New logo. SE strikes back with energy logo
*Deep undervolting. Thanks to Intuki for providing aire's values
*Fixes to binfmt_elf. No more random entropy depleting through using cat, ls and well every binary and script.
*Random entropy generator tweaks. I scream more UI smoothness
*Enabled cpu group scheduling
*Better pmem (updated to 2.6.35.x. For full changelog: pmem patch)
*Removed unused modules and some non-usefull debugging for a lighter Kernel
*Fixes to memory leaks on the networking side
*Fixes to android binder
*Usb network tethering support
*Added ipsec tunneling support
*Fix to cpufreq. Now you can see available frequencies through /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
*Removed KSM because after so many days nothing in our phone calls it
*Tweaks to ramdisk for faster boot
v2.51:
*Reverted pmem code to stock to fix broken adsp for videos. Sorry about that :/
*Known bug on 2.50-.51: Unstable 1.6ghz because of low voltage.
v2.52:
*Added 1.5ghz and stabilised 1.6ghz more
*Changed PATH variable at boot end so busybox is not taken from /system/bin or xbin
*Increased 720p vidc default input buffer for smoother video playback
*Fix a race in pid generation that causes pids to be reusedimmediately
MIUI compatibility:
*Added MIUI shelld service (stock based roms are not affected by this), thanks to stillka
*Reverted binder patches
v2.6:
*Split kernel to 2 versions:
1.4GHz with Undevolting
1.6GHz with Vdd (voltage) control
*More Undervolting to lower frequencies for even better battery for main version. (3 days test showed 1% per 7hours with gsm+wifi on+widget updating every 1 hour)
*Stabilized higher frequencies.
*frandom implementation inside kernel. No need for module. It's 10-50 times faster than random/urandom
Replaced random and urandom with frandom and erandom. No need for apps to do that and it's done at boot so no app or process use the old ones.
(For ramdisk modders: the script is in /sbin/bootrec. You need it for frandom replacement before android boots.)
*Enabled bfq i/o scheduler cgroup
*Fixed PATH variable for good. Now it will report the right busybox in scripts and apps that can't use their own path.
*Tweaked cgroup values for background apps and more
*Enabled memory suspend deep power down. (This will do nothing for roms that can't use it, or without a script calling it)
*Enabled scheduler tunables (like sched_latency_ns, sched_wakeup_granularity_ns and more). Here's a good read about them: sysctl scheduler tunables
Tuning them will provide some more boost to your ray. Have in mind results are different from system to system and different workloads.
v2.7:
*Default scheduler is now SIO for nand and sd
*More total ram (4MB)
*Tweaks and fixes to msm_fb and mdp, for optimized and faster rendering plus less ram usage.
*Optimizations in memory management
*Updated LMK to the latest aprl-2013 version and added some tweaks
*Updated to a more optimized Compaction
*Optimizations to RCUTiny
*Optimized smartassv2 and added Boost pulse
*Added ROW scheduler, thanks to @kast
Experimental!
(Also some optimizations from the k3.4 version are missing for now)
Any benchmark on SIO vs ROW are welcomed.
*Performance optimisations on SIO and Deadline i/o schedulers
*Updated CFQ i/o scheduler
*Reordered functions in input driver for faster touch responce
*Removed Superbad and Lulzactive to lessen the kernel threads and free ram
*Kernel decompressor optimazations to Lzo
*Added Reset by pressing Power+Home keys for 5s
Only use it when you have to. (example: kernel halt) Don't make it your new reboot way!
*Made vibrator worqueue's priority higher to lessen the lag in big cpu load
*Added compact mem per node
*Fixed performance calculation in vidc (video codec)
*Enable Fsync
*Protect a proccess from killed by LMK far too many times
*Fix to suspend power management
*Fixed init.d support not working when having install-recovery.sh for int2ext and other scripts
*And more performance and memory optimizations..
v2.8:
Team Win Recovery Project is here
Dual ramdisk TWRP (volume keys) and CWM (power key)
For differences between TWRP and CWM check "Info about some mods" in OP
Made TWRP more holo, fixed reboot into TWRP and fixed mass storage in TWRP.
Added script to remove unused ramdisk files after boot to free ram
(cpio 7,8mb. Images/other 1.5mb)
Fixed init.d for every method for good
[/B]zram now really uses snappy compression/decompression
Really fast zram and no lag when switching apps
3rd button key reset: +Volume up.
No more random reboot from pressing the keys accidentaly
Use max freq for CSI (camera serial interface) -> new bandwidth: 250 MB/s (2000Mbps)
Use max freq for Jpeg encoding unit -> 147.4Mhz to 153.6Mhz
Faster jpg encoding
Added Badass governor
Rebased WiFi signal levels to more real-world limits
Kernel panic auto-restart 30s
Enable als at boot, to reduce battery drain and washed colors when booting
Increased Cpu freq to 1024mhz in recovery
Reduced default vm swappiness to 20
More silent binder
Suspend optimizations and bugfixes
Enabled Battery show health
Before it always showed GOOD. Now it can show GOOD, OVERHEAT, DEAD, OVERVOLTAGE, COLD
Yay! New kernel for ICS... Lemme' try it. downloading~
:good:
What's the min. frequency?
Csacsifiu said:
:good:
What's the min. frequency?
Click to expand...
Click to collapse
122 :good:
flashed it, and testing.
dreezz said:
122 :good:
flashed it, and testing.
Click to expand...
Click to collapse
Then i download it.
This kernel is Fast but I Think this would be a lot more faster of the OC would go up to 1.6Ghz even though its not Battery friendly
jrchan01 said:
This kernel is Fast but I Think this would be a lot more faster of the OC would go up to 1.6Ghz even though its not Battery friendly
Click to expand...
Click to collapse
I'll consider it. I'll maybe add one with 1.6ghz or with one capped at boot at 1.4ghz. Will see
How i wish their is interactiveX & CFQ. ehehe
From the features it seem a really good kernel(i like the fact it use stock wifi modules too),tnx,but i have some questions:
1)It is undervolt embedded in kernel?
2)Can you make a version without autoroot (or can i modify your ramdisk to use in my rom)?
Tnx in advance and keep the good workin..
Sweet candy, baby! Sounds AWESOME! Flaaaashing immediately! OMG, LOL!
Triple Buffering=project butter?
OK flashed, looks promising. I am on Zelly Cream and superuser doesn't start. What now?
EDIT: Cleaned dalvik, cache, fix permissions, cleared data on superuser app. SuperSU also not able to update binary. Sorry if it's a stupid situation.
CTCaer said:
I'll consider it. I'll maybe add one with 1.6ghz or with one capped at boot at 1.4ghz. Will see
Click to expand...
Click to collapse
Thank you
seems interesting
but i cannot access Mass Storage when my Ray on standby
now i'm using zelly cream as my ROM
back to old kernel for a while
R: [KERNEL][ICS] ***** CTCaer Kernel ***** [Linaro][UV/OC][Triple Buffering][RAM Hack
Abyssmal said:
OK flashed, looks promising. I am on Zelly Cream and superuser doesn't start. What now?
EDIT: Cleaned dalvik, cache, fix permissions, cleared data on superuser app. SuperSU also not able to update binary. Sorry if it's a stupid situation.
Click to expand...
Click to collapse
That's why i don't like autoroot,try deleting(if you can)superuser apk and bin,reboot...
Inviato da me!
PablooRupertooo said:
How i wish their is interactiveX & CFQ. ehehe
Click to expand...
Click to collapse
It was in my intentions to add CFQ but forgot to re add the kernel flag. Have in mind that cfq maybe is one of the most configurable io scheds but bfq does a better job in fairness (because it's an improved cfq).
As for interactiveX I'll review it.
arcatarc said:
From the features it seem a really good kernel(i like the fact it use stock wifi modules too),tnx,but i have some questions:
1)It is undervolt embedded in kernel?
2)Can you make a version without autoroot (or can i modify your ramdisk to use in my rom)?
Tnx in advance and keep the good workin..
Click to expand...
Click to collapse
1) Yep to avoid reboot problems. (even in stock voltages and configurable vdd for example, my ray reboots.)
I'm open though to suggestions about levels. In the next days I'll play a little with the current_now and try some new voltages until i find the
sweet spots before the error corrections begin. Also if for example 750mV has the same drain with 800mV I will keep the 800 one for stability. No need for extreme undervoltaging.
2)Well to be true I didnt wanted to included but many ppl need that feature from the kernel. If will remove it? Dont know yet.
But for sure you can edit the ramdisk. Just comment out the autoroot service in init.rc or delete the autoroot.sh in /sbin.
knightthgink said:
Triple Buffering=project butter?
Click to expand...
Click to collapse
Yep. Well almost. It's what the project butter is based off.
Until now (testing it for 8days) it does a good job and the UI feels a looot better.
Need some tests from games though. I heard that triple buffering made some glitches in xperia T JB. If it's kernel related maybe i can add the patch to our sources.
Abyssmal said:
OK flashed, looks promising. I am on Zelly Cream and superuser doesn't start. What now?
EDIT: Cleaned dalvik, cache, fix permissions, cleared data on superuser app. SuperSU also not able to update binary. Sorry if it's a stupid situation.
Click to expand...
Click to collapse
Well it's not. The superuser is the latest 3.2 and does not have update ability (the button that says update is cosmetic and version informative). The autoroot script is copying the superuser and the su. You are ready to go.
Also no need for wipes. If something doesn't work it has nothing to do with caches.
EDIT:-------
rushland said:
seems interesting
but i cannot access Mass Storage when my Ray on standby
now i'm using zelly cream as my ROM
back to old kernel for a while
Click to expand...
Click to collapse
Can you describe a little your situation?
When the screen is off and you connect the phone to pc the sd doesnt show up?
CTCaer said:
1) Yep to avoid reboot problems. (even in stock voltages and configurable vdd for example, my ray reboots.)
I'm open though to suggestions about levels. In the next days I'll play a little with the current_now and try some new voltages until i find the
sweet spots before the error corrections begin. Also if for example 750mV has the same drain with 800mV I will keep the 800 one for stability. No need for extreme undervoltaging.
2)Well to be true I didnt wanted to included but many ppl need that feature from the kernel. If will remove it? Dont know yet.
But for sure you can edit the ramdisk. Just comment out the autoroot service in init.rc or delete the autoroot.sh in /sbin.
Click to expand...
Click to collapse
Many tnxs,my friend.....i'm testing it(with modded ramdisk)for now it seems to be my next kernel....
-------------EDIT-----------:
If you want i can upload my modded version(No autoroot,No init.d support,basically stock optimized ramdisk+CWM)...
CTCaer said:
Well it's not. The superuser is the latest 3.2 and does not have update ability (the button that says update is cosmetic and version informative). The autoroot script is copying the superuser and the su. You are ready to go.
Also no need for wipes. If something doesn't work it has nothing to do with caches.
Click to expand...
Click to collapse
Superuser FC. SuperSU does not update. Disabled superuser, rebooted, enabled, rebooted and it's NOT working.
Abyssmal said:
Superuser FC. SuperSU does not update. Disabled superuser, rebooted, enabled, rebooted and it's NOT working.
Click to expand...
Click to collapse
Ok. Gonna remove mine too and test it again. Give me some minutes to figure out whats wrong.
Btw you all have problem with superuser?

[KERNEL][GT-S5280/2]ZD Kernel v5.0

Code:
#include <std_disclaimer.h>
/*
* 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 ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/
Well, it seems its about time I release one of the most awaited thing (after a long long time) for this device.
Presenting you with a piece of real dev (kinda), Zapdos Kernel.
Features
Compiled from source.
Compiled using ARM official toolchain (4.4.3).
Bootable on ALL firmwares. This removes the distinction between 'old' and 'new' firmwares.
Swap Support. You got that right, swap support on your favorite ROM, regardless of it being 'old' or 'new'.
CPU Frequency Scaling. Apps like CPU-Z and others will now show more details than ever.
1400 Mhz Overclock.
Governors enabled.
More Governors added.
CPU Idle Power Management Support.
More CPU Frequencies.
Modified Voltage table for better battery life. [UPDATE]
Settings -> Battery, will now show battery usage by apps too. Partially fixed in v2.0 Update.
More I/O Schedulers.
Dynamic Read Ahead Support.
Dynamic Fsync v2.0. Gives massive boost in I/O Performance, and is reflected in benchmark. (Thanks to Faux123)[UPDATE]
Added Double Tap 2 wake feature.
Added bunch of TCP Congestion Controls.
Added Mali GPU profiling.
Based on gzip compression method.
Insecured boot.
Easy root enabled.
Bunch of corrections.
Uses Custom boot splash.
Added VR I/O Scheduler. [NEW]
Added Zen I/O Scheduler. [NEW]
Added TripnDroid I/O Scheduler. [NEW]
Added FIFO I/O Scheduler.[NEW]
In-app updates. [NEW]
Disabled Gentle Fair Sleepers. [NEW]
Asynchronous I/O latency to a solid-state disk greatly increased.. [NEW]
NOATIME and NODIRATIME by default. [NEW]
Disabled CRC check. [NEW]
Optimized SLUB. [NEW]
Optimized Square root algorithm. [NEW]
No dirty things in kernel version. [NEW]
Bugs/Glitches
It is highly likely to experience bugs and glitches, because CPU frequency is enabled. Samsung had disabled it for stability issues.
After reboot, battery remaining value drops drastically, but will increase back eventually to normal, its a glitch, not a bug.
Attaining CPU frequency scaling like other Android Phones is difficult, real-time CPU Frequency scaling isn't possible because, if tried, results in crash.
Broken battery usage by all apps after overclock. Partially fixed in v2.0.
DoubleTap2wake is experimental, it sometimes does not work by name (i.e you need to tap more than 2 times, but it will work for sure).
Credits
Unjustified Dev - For his modifications in defconfig, which was needed to boot the kernel.
Doc - For his findings about non-bootable zImage.
psych.half - For providing me insights about development and Linux Platform.
varun.chitre15 - For helping me make a boot.img, various insights about kernel development and always inspired me.
faux123 - For his awesome dynamic fsync driver.
thewisenerd - For his full support in integrating doubletap2wake.
showp184 - For his double tap to wake driver.
Downloads
Here
Installation
By PC
Download zip.
Put it in your phone.
Boot into recovery mode.
Flash zip.
No need to wipe any data before and after.
Reboot & Enjoy.
By Phone
Download Gesture Control App.
Install it.
Open the app, go to update section (download icon in top right corner).
From there, install/update the kernel.
When download is finished, you will be asked to flash. Press flash button if on CWM v6.0.3.7 only. Then it will boot to recovery, just press Yes then.
If you want to flash manually, downloaded file is saved in sdcard/
XDA:DevDB Information
Zapdos, Kernel for the Samsung Galaxy Star
Contributors
AvinabaDalal
Source Code: https://github.com/corphish/zapdos_mint
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 4.0
Beta Release Date: 2015-03-19
Created 2015-03-18
Last Updated 2015-10-06
Reserved for F.A.Q and Changelog
Frequently Asked Questions
Q. I tried/want to try this, but I have some doubts....
A. You are reading the right post, find your queries below, if not post it.
Q. Nice work dude, thanks....
A. Well, XDA has done a great job in reducing a man's effort of typing 6 letters to just a click on a button called 'Thanks Button'. Didn't they?
Q. Can I use it in my ROM/MOD ?
A. Sadly, NO, sorry. Since the sources have been provided, also kernel may cause problems when flashed after ROM, so its is not recommended to include it in a ROM. But you can obviously refer others to this kernel.
Q. Will this work on GT-S5280?
A. Well, since I don't have that variant, and since its a kernel, I would say not to try this on GT-S5280. And hence, No.
Q. What version of CWM do I need to use?
A. 6.0.2.8 or 6.0.3.7 only, no CWM v5.
Q. I tried this kernel out of excitement, but now realized that it was not for my phone.........?
A. May God Bless You.
Q. What are the features/speciality of the kernel?
A. First, read the 1st post. Second, get/change your spectacles.
Q. Will this work on XYZ Firmware/ROM for GT-S5282?
A. Hell Yeah!!
More Q/A will be added eventually.
If you can't find, post your queries here.
Changelog
Code:
[B]v4.0 - 5 July 2015[/B]
--Added many IOSchedulers.
--Zen
--Fifo
--Vr
--TripnDroid
-Disabled GFS.
-Asynchronous I/O latency to a solid-state disk greatly increased.
-NOATIME and NODIRATIME by default.
-Disabled CRC check.
-Optimized SLUB.
-Optimized Square root algorithm.
-No dirty things in kernel version.
-Enabled KSM.
-Added 1600 Mhz locked frequency.
-Improvements in CPU frequency scaling.
-Updated Dynamic fsync driver to v2.
-Revised Voltage Table for battery improvements.
-Added 200Mhz frequency.
[B]v2.0 - 28 March 2015[/B]
-Fixed not being able to set max CPU frequency.
-Improvements in frequency scaling.
-Added 400,800 Mhz frequencies.
-Modified voltage table, its now more power efficient.
-Overclock to 1400Mhz.
-Added smartassv2, lulzactive governors.
-I/O Optimization : Dynamic read ahead support.
-I/O Optimization : Dynamic fsync.
-Added doubletap2wake. [EXPERIMENTAL]
-Added bunch of TCP Net Congestion Controls.
-Added Mali GPU Profiling.
[B]v1.1 - 20 March 2015[/B]
-1200Mhz Overclock
-Deadline I/O scheduler.
-Improvements in frequency scaling.
-Other optimizations and value corrections.
[B]v1.0 - 19 March 2015[/B]
-Initial release.
Reserved for kernel tweaks and settings
To get the most out of this kernel, install ThunderZap Control App by @varun.chitre15
FREE Version - https://play.google.com/store/apps/details?id=com.varun.thunderzapcontrol
PAID Version - https://play.google.com/store/apps/details?id=com.varun.thunderzapcontrolpro
**Note - DO NOT try to mirror this app. If you want to download use Google Play Store only. If you want to share, share the links given above. DO NOT upload the app to any 3rd party hosting site. You have been warned.
In this app, various sections can be accessed by swiping from left edge to right.
CPU Section
Governors - Use smartassV2. You can use ondemand to get the core running at 1400Mhz.
You can adjust max and min frequencies too. Always keep max frequency 1000 Mhz or above.
Memory Management Section
I/O Schedulers - Use any, unless more are added.
Always keep the Dynamic Fsync option on (layout issue there, but blue means on).
You can play with other options too, instructions are mentioned there.
Network
Use any control, I would recommend Westwood. (Layout issue there again).
Don't forget to enable set on boot, can be found in settings.
DoubleTap2Wake
An update to this app should bring double tap to wake toggle under Special Section (And that is why I highly recommend to use this app). But for now -
Install Terminal Emulator - https://play.google.com/store/apps/details?id=jackpal.androidterm
Run the app, and then type -
Code:
su
echo 1 > sys/android_touch/doubletap2wake
It can be done using adb shell too.
Run Antutu benchmark, and feel the difference.
Will be updated as per kernel.
imma try it bro...and i hit it for u, ..thank you again for this work..keep it going bro.
Awesome..... its working.......
!!!!!congratulations for galaxy star!!!!....:thumbup:
I want to know answer for small question..my stock kernel has 469 mb ram why custom kernel has 459mb ram?
HiT tHaNkS iF I HeLpD u..~~~
Nice Work dude
Will inude this on my rom if u approve
thanks mate also button pressed
thanks for your efforts .will try as soon i will reach at my home
Updates
A Q/A thread for this can be found here.
Added AFH mirrors for those who are facing download issues. Next time, AFH mirrors only.
Next Update will bring-
1. CPU Overclock to 1200Mhz
2. Deadline ioscheduler.
3. Full CPU frequency scaling.
Who's waiting?
rag555 said:
Awesome..... its working.......
!!!!!congratulations for galaxy star!!!!....:thumbup:
I want to know answer for small question..my stock kernel has 469 mb ram why custom kernel has 459mb ram?
HiT tHaNkS iF I HeLpD u..~~~
Click to expand...
Click to collapse
This is because you were on old stock kernel, this one is based on newer sources.
Use Q/A thread next time.
Great work i gonna try it , thanks
im w8ng for nxt update. .. .
AvinabaDalal said:
Next Update will bring-
1. CPU Overclock to 1200Mhz
2. Deadline ioscheduler.
3. Full CPU frequency scaling.
Who's waiting?
Click to expand...
Click to collapse
Kernel is working properly :good: and I am eagerly waiting for the update :fingers-crossed:..
v1.1 Update? Here it comes
Changelog
-1200Mhz Overclock
-Deadline I/O scheduler.
-Improvements in frequency scaling.
-Other optimizations and value corrections.
Removed Odin flashable, since there were no downloads.
Download link updated in OP.
Kernel tweaks (post #3) updated.
Kernel will be soon named Zapdos.
Next Update will be even more big, but its not coming out any soon.
Don't ask about ETA's please.
Solved
v1.1 - bro i cant use contacts (ie keypad ,dialer, logs etc). The msg reads ""unfortunately, contacts has stopped" ..........m on stock rom
v1.0 - same result on this version
Solved...............restored Nandroid backup....and now everything is working fine
Bro plz tell me what is the best governor and scheduler combination for maximum performance
OMG Your Kernel is TRENDING in Indonesia !!
BTW Nice Work
Sent from my GT-S5282 using XDA Free mobile app
@AvinabaDalal : do u compile the source kernel using cm10.1 ?
cleverior.ipul said:
@AvinabaDalal : do u compile the source kernel using cm10.1 ?
Click to expand...
Click to collapse
Nope, I compiled it using ARM toolchain as they had asked to. But I plan to switch to Linaro Toolchain.
And I am not sure whether it will boot CM 10.1 (chances are there though). But it boots perfectly on all stock ROMs.
AvinabaDalal said:
Nope, I compiled it using ARM toolchain as they had asked to. But I plan to switch to Linaro Toolchain.
And I am not sure whether it will boot CM 10.1 (chances are there though). But it boots perfectly on all stock ROMs.
Click to expand...
Click to collapse
what the different of ARM toolchain and Linaro toolchain ?
v2.0 is up!!
Changelog
-Fixed not being able to set max CPU frequency.
-Improvements in frequency scaling.
-Added 400,800 Mhz frequencies.
-Modified voltage table, its now more power efficient.
-Overclock to 1400Mhz.
-Added smartassv2, lulzactive governors.
-I/O Optimization : Dynamic read ahead support.
-I/O Optimization : Dynamic fsync.
-Added doubletap2wake. [EXPERIMENTAL]
-Added bunch of TCP Net Congestion Controls.
-Added Mali GPU Profiling.
You can find download link here.
Do check post #3. This has been updated.
Really this is just awesome...what's the next target
press thankks if you like my work
Great......
~~hiT tHaNkS iF I HeLpD u~~

Categories

Resources