• 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

Question:
I'm looking into undervolting to get better battery life. What is a good table for undervolting and good governor setup for awesome battery life and great performance as well as gaming (GTA3 and Sonic CD)? I'm new to undervolting and would really love to get the most out of my battery. I see a few posts here that talk about it but which is a good one? I listen to music a lot commuting to and from work which takes like an hour and 20 minutes both ways. I text every now and then and rarely browse the web. By the time I get to work I'm at like between 65% and 75% battery life. Also another thing I have noticed is that music stored on the SD card skips on the MIUI rom. I use a 32gb sandisk class 4 card and didn't have this problem with CM7. I also use the google music player (it skips on the stock MIUI player). Any answer would be greatly appreciated.

Undervolting Table and good governor/io for performance and long battery life
Stop music on SD card from skipping
 
1. Music skip: ?
2. I/O: Keep it at SIO
3. Undervolting: You can start off by lowering every frequency under 1.1Ghz by 50 as a starter.
4. Governor: You would have to do your own testing for the governor; but you can use samrtassV2 or SavagedZen as a starter.
 
1. Music skip: ?
2. I/O: Keep it at SIO
3. Undervolting: You can start off by lowering every frequency under 1.1Ghz by 50 as a starter.
4. Governor: You would have to do your own testing for the governor; but you can use samrtassV2 or SavagedZen as a starter.


Yeah when playing music from my SD card I get skips like a CD player. I never experienced it with stock or cm7. If I go back to the part of the song that skipped it skips at the exact same spot. I know my music files are fine cause they play fine on other devices like the ps3 or the computer. Its kind of frustrating lol The music files are mp3's and aac. Both formats get the skipping treatment. No discrimination between them. Anybody else get this problem?
 
Yeah when playing music from my SD card I get skips like a CD player. I never experienced it with stock or cm7. If I go back to the part of the song that skipped it skips at the exact same spot. I know my music files are fine cause they play fine on other devices like the ps3 or the computer. Its kind of frustrating lol The music files are mp3's and aac. Both formats get the skipping treatment. No discrimination between them. Anybody else get this problem?

i did but then i switched to ondemand gov and noop i/o and it stopped... dont know why, just know it did
 
It maybe because the phone is at a low frequency when the song is playing, but that doesn't explain why it skips at the exact spot every time...I use Poweramp so I don't get this problem...
 
Got bored so I decided to update kernel to V5.6

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]
 
Thank you, Austrie. Just installed your kernel v5.0. I can now hear videos much much louder w/ Volume+ app. :)

Thank you,

Great, you just updated the kernel to v5.6? LOL. OOPs!

Just updated to v5.6. Thanks again! :)

Kenster
 
Thanks for update austrie

Edit: new kernel is working amazingly. Seeing better battery life already, seems a bit smoother, I can't really tell anything different with can or video rec. But still. Thanks again
 
Thanks for update austrie

Edit: new kernel is working amazingly. Seeing better battery life already, seems a bit smoother, I can't really tell anything different with can or video rec. But still. Thanks again
Thanks, I noticed some improvement in almost everything; though I have too recalibrate my battery, but it is impossible for me to stay without my phone for more than 3 hours in a row.

Also, 2.1Ghz and above is extremely experimental right now, but I will see if I can make those frequencies more stable in the next release; so if you use 2.1Ghz or any higher frequencies just to see if you can handle, don't select 'Set On Boot'. No Frills CPU is perfect for beta testing, because if you want to test certain frequencies to see if you'll reboot, then, if you reboot, No Frills will go back to stock frequencies.
 
Thanks, I noticed some improvement in almost everything; though I have too recalibrate my battery, but it is impossible for me to stay without my phone for more than 3 hours in a row.

Also, 2.1Ghz and above is extremely experimental right now, but I will see if I can make those frequencies more stable in the next release; so if you use 2.1Ghz or any higher frequencies just to see if you can handle, don't select 'Set On Boot'. No Frills CPU is perfect for beta testing, because if you want to test certain frequencies to see if you'll reboot, then, if you reboot, No Frills will go back to stock frequencies.

I never set mine above 1gz. Lol
 
That's just a little note for people who overclock. Also, I recommend Interactive or SmartassV2 as starter governors until I update the code for the other governors.
~~~
I'm running:
576Mhz Max
24Mhz Min
Interactive

Undervolt:
24Mhz:500
61Mhz:500
122Mhz:500
184Mhz:500
245Mhz:500
368Mhz:550
460Mhz:600
576Mhz:800
 
I would test the new kernel, but I'm too in love with ICS :o
Could you possibly update the MIUI ROM itself since they released the source for it? I would love a more up to date version. You could probably apply most if not all the fixes from CM7 Reloaded.
 
@FroyoShark: I have plans for MIUI, but even though MIUI is going open source they don't have any useable amount of source put up to build MIUI GB, MIUI ICS, or even to update MIUI GB, even their guide they made is useless. It is in a different language, and when translated, it is full of bad grammar; so my problem right now is finding some kind of source/lead to build or update on...

@boomer_jmore: Every time, it is the only step you need to do to flash it, so why not do it. Better safe than sorry.
 
Miui is so much smoother then ics right now. And as long as miui gets updates I'm forever miui lol. Ziggy got 1.12.12 booting just some fixes he needs to make first
 
Only wipe delvik when flashing a kernel

You don't have to wipe either. The dalvik cache is only the dex class files associated with the appspot which make no difference to the kernel. Also the cache don't matter because it us just temp files stored by the system when downloading apps.
Plus from what I've seen in the cwm recoveries we have, don't even mount cache so you can't format it. If you check the cwm logs it shows where it can't mount cache. That's why you get the E: can't mount cache/recovery/command and all that! At least on every cwm I've used its been like that. Its an error in the recoveries fstab. Flashing a kernel require no extra steps unless your just paranoid and like waiting 5 minutes to boot!

On on another note, Austrie I would seriously recommended keeping a better and cleaner github repo! You can't even n trace changes you've made which is a big open source no-no. Plus there are all kinds of un needed files being synced to your report like alot of temp files being created during compiled! You need to add .gitignore files to your report! And not commuting changes can lead people to question if the changes you say you made are really in your kernel! Just a suggestion!
 
Well if you check other kernels for other devices, you have to wipe at least Dalvik cache, sometimes cache partition. If look up other kernel threads for other devices will see people have weird problems solved when they wiped Dalvik Cache then Install the kernel.
~~~
Yeah, I started updating my github late, so when I updated it, it was one big update. I can't remember every single file update for each feature I added, so I just released it as one big blob/commit. The hardest one to remember is the EXT4 tweaks, the EXT4 Tweaks have like 70,000 changed lines in total from multiple files. I didn't know that my hidden files would get committed too, so it made the repo look even worse. And I would never tell people I added something when I didn't actually add it unless I thought I did when it actually wasn't added/working, if that happened I would just fix or take out the feature in the next update. It also has V5.2 on my github even if it is one big commit you can read through the file changes from V1.0/V1.1, it is little bit harder but the source is there showing proof; the only thing it is missing is the updated KGSL drivers which were just added in V5.6 which was done by edowar and added/improved by DooMLorD, though the commit is deleted now, Mantera and Whyzor have the commit in their githubs.
 
Had a little issue with this... with my settings as they were in 5.0, using no frills cpu control min 64, max 1024, with sio and interactive, the phone locks up after a little while and reboots.

For now, I have no frills off. Not sure what the issue is...
 
Back
Top Bottom