• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [KERNEL]SpeedDemon V5.6 (Performance & Battery Improvements) - MIUI Kernel

Austrie

Android Expert
Jan 16, 2011
1,325
898
SpeedDemon Kernel
Austrie's Kernel For MIUI
Using MIUI 11/25 build

Hit the thanks button and make sure to comment.
When this thread dies, I'll stop updating.

-Check ChangeLog In Second Post For Changes-


Notes:

  • Austrie Recommends the use of "Incredicontrol" app, "Startup Manger" app, & "No-Frills CPU Control" app from market!
  • This kernel now contains the Isaac's fix for better HD gaming, therefor losing 30MB RAM.
  • 2.1Ghz and above are EXTREMELY EXPERIMENTAL frequencies, I will improve them in next version.
  • Undervolting frequencies higher than 1.0Ghz MAY causing bootloops.
  • I have lowered the WiFi Voltages, and also Increased Volume; these are experimental. Watch these changes and report any bugs.
  • I have increased USB draw amount/speed, meaning faster charging via USB Charging.
  • There a couple volume boosters on market, "Volume+", "Volume Boost", and "SoundBoost"
  • Make sure to recalibrate your battery, read this thread for info: http://androidforums.com/triumph-al...te-battery-better-accurate-batttery-life.html
  • To 2-Way Call Record you need a separate app from market, called "CallRecorder" by skvalex, here is his DEV thread: [DEV] Two-way call recording on Desire [ALMOST SOLVED][Sept. 7 update] - xda-developers
  • There is a DSP Manager for MIUI, link: DSP Manager Equalizer for Android - xda-developers

Features

|

Underclock
24576
(24Mhz)(0.02Ghz)
61440
(61Mhz)(0.06Ghz)
122880
(122Mhz)(0.12Ghz)
184320
(184Mhz)(0.18Ghz)
245760
(245Mhz)(0.24Ghz)
368640
(368Mhz)(0.36Ghz)
460800
(460Mhz)(0.46Ghz)
576000
(576Mhz)(0.57Ghz)
652800
(652Mhz)(0.65Ghz)
768000
(768Mhz)(0.76Ghz)
806400
(806Mhz)(0.80Ghz)
921600
(921Mhz)(0.92Ghz)
1024000
(1024Mhz)(1.0Ghz)


Overclock
1024000
(1024Mhz)(1.0Ghz)
1113000
(1130Mhz)(1.1Ghz)
1209600
(1200Mhz)(1.2Ghz)
1305600
(1300Mhz)(1.3Ghz)
1401600
(1401Mhz)(1.4Ghz)
1516800
(1516Mhz)(1.5Ghz)
1612800
(1612Mhz)(1.6Ghz)
1708800
(1708Mhz)(1.7Ghz)
1804800
(1804Mhz)(1.8Ghz)
1900800
(1900Mhz)(1.9Ghz)
2016000
(2016Mhz)(2.0Ghz)
2112000 (2112Mhz)(2.1Ghz)
2208000 (2208Mhz)(2.2Ghz)
2304000 (2304Mhz)(2.3Ghz)

Governers

Scary
MinMax
Lagfree
SuperbadSmartass
Ondemand
UserSpace

Interactive
InteractiveX
Powersaver
SmartassV2
Conservative
Performance
Smoothass
SavagedZen


I/O Schedulers

VR
CFQ
Noop
Deadline
Simple
(SIO)
Anticipatory

~Extras~
Ext4

Slab
SVD
Swap
TinyRCU

Jhash V3
Cleancache
VDD Control
ZCache For EXT4
FileSystem Tweaks
Undervolt To 500mV
Updated 720p Drivers

Generic Sound Support
Faster USB Charging
Lowered WiFi Voltages
2-Way Call Recording
A Lot Of EXT4 Tweaks
Updated KGLS Drivers
ISO filesystem support
Disabled Kernel Debugging
Sony Bravia Engine Improvements
Cleaned Kernel Debugging Messages
Full Incredicontrol Capabilities
UDF CD-ROM filesystem support
Digitial Audio Brodcast Support
Frees Up Over 20MB Of Internal Storage On Phone
Allow CPU-Supported Unaligned Access
NTFS filesystem read and write support
Backwards Compatibility SupportPage Table Optimization
Cleaned Kernel Debugging Messages
IPv6 Tracking Support
IPv6 Tables Support
USB Audio Support
USB IP Support
Zip Aligned Data
&
Much, Much, More...

___

Summary Of Govorners
(Only 75 to 90% Accurate)

  • Interactive: The interactive governor is functionally similar to the Ondemand governor with an even greater focus on responsiveness. In V5.0, it has been modified to save more battery, affecting performance by margin-able amount, while saving a lot of battery. Should be used as a starter along with SmartassV2, before using other governors.

  • Smoothass: The same as the Smartass governor, but much more aggressive & across the board. Smoothass has about a third better battery life than stock. As far as I know this is a Smartass tuned for a more aggressive ramping, which means, more performance and snappiness, though less battery than Smartass.

  • Conservative: It is similar to the Ondemand governor, but will scale the CPU up slowely to save battery, while still trying to meet demand. Conservative provides a less responsive experience than Ondemand, but saves more battery.

  • Ondemand: When the CPU load reaches a certain point/thresh hold, Ondemand will rapidly scale the CPU up to meet demand, and then gradually scale the CPU down when it isn
 

  1. Make Sure Your Using MIUI Build 1.25.11
  2. Go Into CWM
  3. Make a Backup
  4. Go To "Advance", Located All The Way At The Bottom Of The CWM Menu.
  5. Wipe Dalvik Cache
  6. Flash!

Downloads

http://www.mediafire.com/download.php?q26y62ovdhpkua4 - V5.6


http://www.mediafire.com/download.php?zdf8ce3a3fn0i00
- Original MIUI Kernel



|

ChangeLog
-Starting From V3.5-
Code:
[COLOR=Red]V5.6[/COLOR]
-----[COLOR=Red][COLOR=RoyalBlue]
[/COLOR][/COLOR][COLOR=Navy]Cache Page Merging
Updated KGSL Drivers
Battery Improvements
Generic Sound Support
Cleaned Up Debug Messages
Touchscreen Driver By Whyzor
Sony Bravia Engine Improvements
GPS Config Updated Like CM7(Reloaded)
SIO Default(VR Was Default By Mistake)
Camera Improvements Like CM7(Reloaded)
Added 2.1Ghz, 2.2Ghz, 2.3Ghz([U][I][B]VERY EXPERIMENTAL[/B][/I][/U])(Going To Improve In Next Update)[/COLOR]

[COLOR=Red][COLOR=Purple]~~~[/COLOR][/COLOR]

[COLOR=Red]V5.0[/COLOR]
-----[COLOR=Red][COLOR=RoyalBlue]
EXT4 Updated
[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue]Fix/Added HW3D[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Added Cleancache
[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue]2-Way Call Recording[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Updated 720p Drivers[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]A Lot Of EXT4 Tweaks[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Battery Driver Changes[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Do Uninterruptible Sleep
[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue]Added ZCache For EXT4[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]ARM Sound Devices Support[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue] Removed Darkside Governor[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Lowered 2GHz mV amount[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Set DB line buffers for 720p
[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue]Made 500mV Lowest Voltage[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Touchscreen Driver Changes
[/COLOR][/COLOR][COLOR=RoyalBlue]Fix Mark_Inode_Dirty Barrier[/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Enabled THUMBE Enviroment[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]I[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue]ncreased 720p Enc and Dec[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue]
Updated Interactive Governor[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Various Tweaks For File System[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue]
More Internel Memory Freed Up[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Made Busywait Loops Less Likely
[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue]Fix Performance Level Computation[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue][EXPERIMENTAL]Increased Volume[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue]
[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue][EXPERIMENTAL]Lower WiFi Voltages[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue]
Updated MPEG-4 Recon Buffers To Black
[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue]Updated 'Prevent Multiple syscall restarts'[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Disable Mass Storage Write Cache Support[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Made Fatal Error In 720p More Recoverable[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue]
[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue]Fix 720p Driver Memory Alloc Failure Handling[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Increase The Default 720p Default Input Buffer[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Made Deadline I/O More Suitable For Flash Devices[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Support Dynamic Change Of Interlaced Format In 720p[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Updated 'Backoff Suspend If Repeated Attempts Failed'[/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Added 'Put eMMC In Sleep (cmd5) Mode Before Suspend'[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue]
[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue]Attribute The I/O Wait Time Properly In mmc_wait_for_req() [/COLOR][/COLOR]
[COLOR=Red][COLOR=RoyalBlue]Added Support In Video Driver To Configure Divx Codecs 4 & 6[/COLOR][/COLOR][COLOR=Red][COLOR=RoyalBlue]
Undid SpinLock Optimization(Might Be The Cause Of Extra Battery Drain Compared To mOCk)
[/COLOR]
[COLOR=Purple]~~~[/COLOR]

V4.5[/COLOR]
-----
[COLOR=Red][COLOR=Blue]Fix I/O Hang
SIO Now Default
Added Darkside Governor
Upped Dirty Writeback
Upped VM Swappiness
Upped MM Read Ahead More
Lowered VFS Cache Pressure
SLQB Slab Memory Allocator Added -Not Default-
Allow CPU-supported Unaligned Accesses
Fix Deadlock When System Is Low On Memory[/COLOR]

[COLOR=Purple]~~~[/COLOR]

V3.5[/COLOR]
-----
[COLOR=Navy]Ext4 Performance Patch
[/COLOR][COLOR=Navy]Faster SD Card Read Ahead
Being able To UnderVolt to 650mV
Touchscreen Driver Improvement By Isaac[/COLOR]
 
Upvote 0
Thanks~Credits
DooMLoRD - The original kernel developer for the Huewii X6 variants.
Pwnyourrace - The base for the kernel development of the Triumph.
B_randon14 & Shane87 - The guys who did extra work for the Triumph stock kernel.
Issacj87 - The person to BLAST off the Triumph Developement and the person to port MIUI to the Triumph and its kernel.
Whyzor - His dedication on improving to the Touchscreen Driver for the Triumph, and for the features I used from CM7(Reloaded)

&
Special Thanks To Mobstergunz ~ Big Help, being tester and helping me with files I couldn't get.
Unlike JollyRoger87 who REFUSED to help...
|
Special Thanks to Mantera ~ Giving me couple files I couldn't set up, and made porting 2-way call recording support easier.
|
Extra Thanks to brandon14 ~ Gave me a idea that got this kernel to boot, and giving me ideas for this kernel.

Scaryghoul, TheDerekJay, LeeDroid, imoseyon, and LorDClockaN; for the reference or code I may have used.
 
Upvote 0
Nice! MIUI is awesome, try it out :)

Also, I have no clue how you made a kernel for a ROM without the ROM- that sounds like pure, concentrated awesome! Then again, I'm a kernel-noob.

If it wasn't for the VMSPLIT difference, the kernel from CM7 would work in MIUI and vice versa. Hell, even if the stock ROM was VMSPLIT3G, it would work with MIUI as well. The kernel just speaks to the hardware and that doesn't change regardless of the ROM.
 
Upvote 0
can't wait to try this today (hopefully) with the new governors that mOCK doesn't have. BTW how well does the "simple" i/o scheduler work?

SIO is based on the deadline scheduler but it's more like a mix
between no-op and deadline.
In other words, SIO is like a lighter version of deadline but it
doesn't do any kind of sorting, so it's aimed mainly for random-access
devices (like SSD hard disks) where request sorting is no needed (as
any sector can be accesed in a constant time, regardless of its
physical location). - Miguel Bot
 
  • Like
Reactions: bing7625
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones