Alienex Posted November 6, 2012 Share Posted November 6, 2012 (edited) Faits saillants: Exynos-Abuse Secured (Thanks to AndreiLux for the original low level patch & Samsung for the Official Fix) SDS patch included Ramfs from Stock Kernel + Busybox and its various functions in /sbin Versions up to Rev1.00 were Based on Samsung Galaxy Note 2 N7100 Source Drop Release 1; Rev1.01 and up are based on N8000 Sources Included patches for performance, stability and battery life Init.d support SetCPU, ROM Toolbox and Voltage Control Support CPU Overclocking and Undervolting Support No GPU Overclocking and Undervolting Enable or Disable File Syncing(fsync disabled by default as I've tweaked the system for optimum latency designed for Flash Storage) CFS Autogroup by Mike Galbraith Enabled CPU Topology and Sched_MC enabled AFTR and LPA enabled A lot of tunables via sysfs included (Use ROM Toolbox or similar Utility to easily change it) Git Implementation of SHA-1 for 12% faster boot time CPU set at 1.6Ghz at Boot for faster boot time (Thanks to Imoseyon) LZO compressed kernel using optimized values for the size of the kernel for faster boot time CIFS Support (cifs.ko located in /lib/modules) | Tweaked Ext4 Filesystem(Patches + Mount Options + Tweaked IO Schedulers leaning towards latency for Flash Storage) sio | zen | noop | deadline (tweaked for better latency and balanced throughput for Mobile NAND based devices) Tweaked the mount options for Ext4 to adapt to the current focus on latency pegasusq | conservative CPU Governors (Patched conservative to support load based hotplugging) WiFi Multicast Blocked (Thanks to Entropy512) Using Toolchain 4.7.3 from Linaro+ compiler optimizations specific for that version (Thanks Linaro) Power Saving Features: AFTR + LPA enabled sched_mc enabled (set at 2 by default) ARM CPU Topology enabled No HZ enabled Boot Time Features: Used git Implem of SHA-1 for 12% Boot time improvement Added [PATCH] arm: remove "optimized" SHA1 routines by Linus Torvalds Added [PATCH] arm: remove stale export of 'sha_transform' Linus Torvalds Set Clockspeed at 1.6Ghz at Boot time to ensure all critical tasks have enough power to perform them whilethe governors/maxfreq isn't set yet. (Thanks to Imoseyon for this hack) CPU Features Supports CPU Overclocking and Undervolting (Thanks to AndreiLux) No GPU Overclocking or Undervolting pegasusq | conservative CPU Governors pegasusq set as default Filesystem Features (Currently Supported) ExFat (Using Proprietary Samsung Modules) Fat32 Ext2/3/4 CIFS (cifs.ko is in /lib/modules) Ext2Int for N7100 (Thanks to mattiadj for idea and base script that I used to get it fully working on N7100 and RedPill) (ExFAT and FAT32 only) I/O Schedulers SIO (2012 0.2 version) (tweaked for Flash) Set as Default deadline (tweaked for Flash) zen (Thanks to bbedward) noop Tweaked values in deadline and SIO I/O scheduler to give better than average throughput while attemting to improve latency (if not more aggressive). Based on our initial (indicative, not conclusive... yet) testing, having these in line with the vm dirty, expire, writeback values + ext4 mount options to "schedule" write outs as fast as the system can handle it works quite well to balance throughput with latency expected in a mobile device. We took the big picture view and tested our tweaks 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 average throughput and balanced battery life with good 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) I could have tweaked it for extremely great throughput and battery savings but that wouldn't be fun to use. I hate micro-lags myself. Our Test Data regarding I/O schedulers and Kernel Tweaks can be found HERE. The blog post that describes what we are trying to do can be found on my blog post HERE. (Thanks to s2d4) Memory Features Custom minfree values tweaked for 2GB RAM Tweaked vm values in sysctl that's optimized for latency Display Features Stock mdnie values for more vivid details on the current generation of AMOLED Displays Enabled "fsync disabled"(can be disabled by doing an echo "1" > /sys/module/sync/parameters/fsync_disabledin a terminal emulator or as a script for gscript or scriptmanager) (Thanks to Ezekeel)Using the tweaked Ext4 filesystem + scheduler and mount options leaning towards latency + vm values in the kernelmakes the most of the speed of Flash Storage based devices. At the speed at which the data is written to and from the kernelto the Fast Storage devices, you would only lose up to 1 second worth of data at most IF the kernel crashes.I don't plan on that happening so I enabled the system to get the maximum possible performance in this area. Tweaked Ext4 Filesystem (Patches + Mount Options + Tweaked IO Schedulers leaning towards latency) SIO | noop | deadline (tweaked for better latency and balanced throughput for Mobile NAND based devices) Tweaked the mount options for Ext4 to adapt to the current focus on latency 3rd Party Kernel Apps Support ROM Toolbox by jrummy SetCPU by michaelhuang Voltage Control by xan Rev0.1 Used N7100 source drop Tweaked deadline and sio for throughput and better battery life Tweaked conservative and pegasusq for slightly more aggressive performance No UV No OC Using new SHA-1 Enabled Cleancache Enabled Mike Galbraith's Sched Autogroup Applied AndreiLux's sensor hub fix (Thanks to AndreiLux) Using SLQB CFQ by default Using RWSEM Algorithm by Code Aurora Tweaked kernel values using the redpill.sh in the ramdisk Enabled init.d Auto Backup of EFS Using Toolchain 4.4.3 Rev0.2 Adjust tweaks in ramdisk Tweaked CFQ SMP fixes by Russel King XZ compressed kernel (fast and small) ARM topology Sched_mc set at 2 Disabled Mali State Tracking CIFS as a module Rev0.3 Sharpness Tweak by Hardcore (Thanks to hardcore) Black Crush Fix by AndreiLux (Thanks to AndreiLux) XZ Tweaked for faster boot and more efficient RAM Enable 1.6Ghz at Boot time to speed it up just a bit more (Thanks to Imoseyon) Various ARM topology patches Enabled Timer Slack Controller Rev0.4 Blocked multicast (Thanks to Entropy512) Tweaked Pegasusq to start early in the boot process CIFS built-in (no modules) Tunneling built-in Testing Out ezterry's 4.6.3 Toolchain Fsync control by Ezekeel Increased mmc timeout (Thanks to AndreiLux) Added a few compiler optmizations for 4.6.3 Toolchain Rev0.5 Applied Vermagic patch to enable proper loading of proprietary modules (Thanks to jt1134) Improved Latency of schedulers Removed cfq and enabled sio as default io scheduler Tweaked Pegasusq for smoother performance (Can be changed using SetCPU) Ext4 patches from mainline for optimization and stability Workqueue patches from mainline Timer patch from mainline Sched Race in Task Group Patch from mainline Busfreq back to default voltages (for public release) Fixed ExFat Loading Error (SLUB instead of SLQB) LZO compressed kernel for more more speed No Screen Sharpening (Only AndreiLux's Black crush fix which is in fact for the S3. Thanks for the Heads up AndreiLux) Removed Auto EFS Backup to speedup boot process (You have an EFS Backup already, right?) Rev0.6 Wakelock patch to save power (Thanks to Andrea Arcangeli) Apply SCHED_FIFO to kthreadd (Thanks to Steve Muckle <email@example.com>) Testing latest Linaro 4.7 Toolchain Camera Fix for ZKFI07 camFW (Thanks to nebkat) Experimental Hotplug Awareness based on Load for Other Governors (Thanks to franciscofranco) Updated lzop compression from current upstream version for a significant speed improvement (Thanks to Markus F.X.J. Oberhumer <firstname.lastname@example.org>) ARM: disable preemption in machine_shutdown (Thanks to Mike J. Chen) Check source on github for detailed commit logs and messages Rev0.7 Added UV Capability (arm voltages only) Implementation by AndreiLux (Thanks to AndreiLux) Increase USB Charging rate by AndreiLux Increased it even more to match AC charging rates (Experimental) lowmemorykiller patches by Cyanogen Steve Kondik <email@example.com> Experimental optimizations to try and fix ZK camFW bug Loads of Samsung OSRC updates c/o AndreiLux (Thanks to AndreiLux) Wacom, Firmware, epen, sensorhub, camera firmware among others c/o AndreiLux (Thanks to AndreiLux) Bug Fixes by AndreiLux on sound related source files Rev0.8 Added STweaks support (Thanks to gokhanmoral) Custom STweaks Entries specific to RedPill Features Using Latest 201211 Linaro 4.7.3 Toolchain Added NTFS Automounting support (for sdcard formatted as NTFS only, not OTG) Please Test if this works as I use FAT32 Added led blinking or fading choice from CM10 (Thanks to codeworkx and XpLoDWilD) Rev0.9 Added Scoobydoo Sound (gokhanmoral's port of supercurio's Voodoo) (Thanks to gokhanmoral) Added Scoobydoo specific Stweaks presets (Thanks to gokhanmoral) Added sjkoon's Scoobydoo Sound fixes (Thanks to sjkoon) Added android logging as a module (Use STweaks to toggle) Rev0.10 Revert ExtSdCard mount points to default (To enable Ext2Int Tweak by mattiadj to work) Added bbedward's zen i/o scheduler (Included in Stweaks options as well) Added Option to OC to 1.8GHz after several weeks of testing for stability (Thanks to AndreiLux) Added AndreiLux's STweaks Dynamic Config for CPU_UV, min/max freq and i/o scheduler (Thanks to AndreiLux) Added updated pegasusq logic from newer Samsung sources (Thanks to AndreiLux for Original Port) Added option in STweaks to swap internal and external sdcard (Thanks to mattiadj for original idea and script, which I then took and edited to ensure Full compatibility with N7100) Added Proportional Rate Reduction for TCP (Thanks to faux123) Tweaked deadline i/o scheduler Rev1.00 Exynos-Abuse Secured thru the low-level fix by AndreiLux (Thanks to AndreiLux) Using Official Google Toolchain 4.6.x Added the latest (v5.4) of the "faster crc32 algorithm" by Bob Pearson and Darrick Wong (Thanks to both of them) Added faux123 Dynamic fsync (Thanks to faux123) Enable Dynamic FSync and FSync Control to co-exist (Please read STweaks option to gain a better understanding) Backported ROW I/O scheduling algorithm (Thanks to Tatyana Brokhman) Revert to using original N7100 source bcmdhd drivers to fix WiFi for some users Added ability to increase brightness to 255 (Thanks to nebkat) Tick and workqueue updates from upstream kernel source (Please see commit log for details) Remove ntfs auto mounting since people use ExFAT and FAT32 while NTFS can be loaded by 3rd party tools Tweaked Ext2Int mount options Tweaked System mount options Rev1.01 Completely Rebased on N8000 Source Use newest and official Exynos-Abuse patch from Samsung (Thanks to AndreiLux for the additional patches re: static cma regions) Fix Freezes for some Devices when transferring large files via USB Fix SOD for some Devices Change CPU Idle Settings back to stock Remove Dynamic FSync (Ability to enable or disable FSync is still available) Removed ROW I/O as sio/deadline/zen perform better in our tests USB Charging Rate increased to 1700 Tweaked pegasusq for battery life (limit sampling rate in suspend) Removed Conservative (as new tweaked pegasusq can save battery with the right settings) Added Dynamic STweaks XML Implementation by AndreiLux (Thanks to AndreiLux) Updated STweaks (Thanks to Gokhan Moral) use get_random_int() to fix entropy depleting (Thanks to Jeff Liu) Updated sensorhub driver, device sensors SDS patch included (Thanks to AndreiLux) TELECHARGEMENT: RedPill RedPill Stable Revision 0.5:Click to download RedPill_Rev0.5_CWM.zip (DEPRECATED | NOT SUPPORTED) RedPill Stable Revision 0.6:Click to download RedPill_Rev0.6_CWM.zip (DEPRECATED | NOT SUPPORTED) RedPill Stable Revision 0.9:Click to download RedPill_Rev0.9_CWM.zip (DEPRECATED | NOT SUPPORTED) RedPill Stable Revision 0.10:Click to download RedPill_Rev0.10_CWM.zip (DEPRECATED | NOT SUPPORTED) RedPill Stable Revision 1.00:Click to download RedPill_Rev1.00_CWM.zip (DEPRECATED | NOT SUPPORTED) RedPill Stable Revision 1.01:Click to download RedPill_Rev1.01_CWM.zip (DEPRECATED | NOT SUPPORTED) RedPill Stable Revision 1.30:Click to download RedPill_Rev1.30_CWM.zip RedPill AOSP RedPill AOSP Revision 0.5:Click to download RedPillAOSP_Rev0.5_CWM.zip (DEPRECATED | NOT SUPPORTED) RedPill AOSP Revision 0.10:Click to download RedPillAOSP_Rev0.10 (FOR CM10.1 and 4.2.1 based AOSP ROM's) (DEPRECATED | NOT SUPPORTED) RedPill AOSP Revision 0.11:Click to download RedPillAOSP_Rev0.11 (FOR CM10.1 and 4.2.1 based AOSP ROM's) (DEPRECATED | NOT SUPPORTED) RedPill AOSP Revision 1.30:Click to download RedPillAOSP_Rev1.30 (FOR CM10.1 and 4.2.1 based AOSP ROM's) RedPill Ultimate DEPRECATED SINCE MOST FEATURES ARE FOUND ON STABLE RedPill Ultimate Revision 0.7:Click to download RedPillUltimate_Rev0.7_CWM.zip (DEPRECATED | NOT SUPPORTED) Source: http://forum.xda-dev...d.php?t=1975938 Un merci ne coûte rien ! Edited February 1, 2013 by Alienex 2 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.