綁定帳號登入

Android 台灣中文網

打印 上一主題 下一主題

[分享] XDA最新內核[RedPill]閃亮來襲,帶來不一樣的順暢感覺!

[複製連結] 查看: 1680|回覆: 2|好評: 1
跳轉到指定樓層
樓主
garnebin | 收聽TA | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
發表於 2012-11-7 11:55

馬上加入Android 台灣中文網,立即免費下載應用遊戲。

您需要 登錄 才可以下載或查看,沒有帳號?註冊

x


[Kernel][06NOV\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'12][RedPill]Brutally Efficient | Blazing Fast | Remarkably Responsive

三星于近期再次公布note2源代码,新闻链接:[url]http://www.cnbeta.com/articles/212760.htm

相信将来note2的内核会越来越丰富,下面就是XDA论坛最新出来的一款内核,代号redpill
链接:http://forum.xda-developers.com/showthread.php?t=1975938


下面是内核特性,作者列举的非常详细,大都是一些性能上的改善和功能上的增强,我就不一一翻译了(本人水平有限,加之内容专业性比较强,怕翻译错)。有英文基础的同学可以去原帖研究一下
作者我经历我看了一下,之前主要是做GS2的内核编译(链接http://forum.xda-developers.com/showthread.php?t=1288850),我大概翻了一下帖子,口碑应该是很不错,相信这次带来的这款内核也会有不错的表现

目前作者放出的下载版本是rev0.5,最新的0.6版本正在测试

注意:作者计划更新三个版本,分别为[/url]

redpill:RedPill Stable Revision



**Ultimate (Will not work with ExFat since I used SLQB)
All of the above PLUS:
  • SLQB
  • Busfreq Undervolting (less 100mV each)
--------------------------------------------------------------------------------------
**AOSP (Will work with CM10 Based ROM\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s only)
Ultimate PLUS:
  • AOSP Ramfs Tweaks
  • 4.4.3 Toolchain

ultimate和aosp版本暂未放出,目前作者放出的下载版本是redpill rev0.5,应该适合目前绝大多数rom(CM和AOSP请不要尝试),最新的0.6版本属于测试阶段

更新日志:
RedPill Change Log

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 (Current Revision Released)
  • 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 (STILL IN DEVELOPMENT & TESTING)
  • Wakelock patch to save power (Thanks to Andrea Arcangeli)
  • Experimental NTFS read/write support
  • OTG support for NTFS via ntfs-3g
  • Use Latest Linaro Toolchain 4.7.3

内核特性:
Highlights
  • Ramfs from Stock Kernel + Busybox and its various functions in /sbin
  • Based on Samsung Galaxy Note 2 N7100 Source Drop Release 1
  • Included patches for performance, stability and battery life
  • Init.d support
  • SetCPU, ROM Toolbox and Voltage Control Support
  • No CPU & 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 | 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
  • WiFi Multicast Blocked (Thanks to Entropy512)
  • Black Crush fix (Thanks to AndreiLux)
  • Using Toolchain 4.6.3 from ezterry + compiler optimizations specific for that version (Thanks ezterry)

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 while
    the governors/maxfreq isn\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'t set yet. (Thanks to Imoseyon for this hack)

CPU Features
  • No CPU Overclocking or Undervolting
  • 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

I/O Schedulers
  • SIO (2012 0.2 version) (tweaked for Flash) Set as Default
  • deadline (tweaked for Flash)
  • 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
  • Black Crush fix (Thanks to AndreiLux)
  • Stock mdnie values for more vivid details on the current generation of AMOLED Displays

Performance Patches Enabled

Mike Galbraith\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s Ultimate CFS Performance Patch (CFS Autogroup)
*More info on this here:
https://lkml.org/lkml/2010/11/20/91Added the CGroup Patch:*Added [PATCH] cgroup: Provides a way of tasks grouping by timer slack value
by Kirill A. Shutemov 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.

Experimental Latency Related Patches
  • 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) (Thanks to Ezekeel)
    Using the tweaked Ext4 filesystem + scheduler and mount options leaning towards latency + vm values in the kernel
    makes the most of the speed of Flash Storage based devices. At the speed at which the data is written to and from the kernel
    to 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


刷入方法:
正常recovery下刷入即可,刷入前后请wipe Dalvik / Cache


资源:
115网盘附件下载:
100652uxxkxxvh8nd8vkho.zip (5.95MB)
「用Android 就來APK.TW」,快來加入粉絲吧!
Android 台灣中文網(APK.TW)

評分

參與人數 1幫助 +1 收起 理由
m6m6 + 1

查看全部評分

收藏收藏 分享分享 分享專題
用Android 就來Android 台灣中文網(https://apk.tw)
回覆

使用道具 舉報

沙發
 樓主| garnebin | 收聽TA | 只看該作者
發表於 2012-11-7 11:56
我認真翻了一遍XDA的回复,基本上都是誇讚的,內核很順暢,耗電還在測試
 少數人出現相機FC,作者稱並未改動相機部分,自己測試都正常,目前不知道是否rom問題
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

板凳
shuttleantant | 收聽TA | 只看該作者
發表於 2012-11-7 17:52
garnebin 發表於 2012-11-7 11:56
我認真翻了一遍XDA的回复,基本上都是誇讚的,內核很順暢,耗電還在測試
 少數人出現相機FC,作者稱並未改 ...

請問你試用的結果,有感覺到比官方好的地方嗎?

點評

內核更新恐怕是最難以感覺出差異的,我已經試用,但目前還沒有什麼感覺。  發表於 2012-11-7 18:41
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則