[KERNEL] mOCk kernel v1.7.14 for MIUI (released)
Disclaimer: By downloading and installing this kernel, you are assuming all risk. There are no implied warranties of any kind.
It seems to be working for me but try this at your own risk... Don't come crying to anyone here if you fry your phone... Don't overclock if you don't feel comfortable taking the risk!
This is based on Isaac's latest kernel code in his MIUI build with the OC tables and Voltage controls as in the CM7 kernel. All credit goes to Isaac, Tickerguy, b_randon14, Napstar, DoomLord, CyanogenMod and the Tiamat devs. If I missed anyone, let me know and I'll add it.
Flash Zip file in CWM.
A small update to bring this kernel in line with the cm9 kernel.
-Linux version 22.214.171.124
-updated to latest whyzor touchscreen driver
-includes most of Whyzor's kernel updates
-changed default io scheduler to sio
-changed default goveror to interactive
-does NOT use the same kgsl drivers as in the cm9 kernel. They decreased the performance in this GB miui.
- Allocated the extra memory to the GPU so HD games will play properly
- Updated Interactive governor with all of the latest updates from CM
and reduced the transition latency so it will transition faster.
- added Whyzor's wakelock fix to try and prevent times when deep sleep mode is never entered.
- added 2way calling patch. Thanks to avs333 for the patch and DoomLord for the port of the patch. I know that MIUI already has in-call recording but if you were using another ROM and already had the app, you can now use it in MIUI also.
Need to use CallRecorder app from skvalex or rVoix.apk from avs333. More info can be found on this thread on xda:
[DEV] Two-way call recording on Desire [ALMOST SOLVED][Sept. 7 update] - xda-developers
Here's the post by skvalex listing his latest trial version of CallRecorder:
xda-developers - View Single Post - [DEV] Two-way call recording on Desire [ALMOST SOLVED][Sept. 7 update]
Here's the market link for CallRecorder:
I tested the CallRecorder app and the sound quality was excellent for a recording--if you're into that sort of thing. I did not test the rVoix.apk yet at this time.
- enabled 61 MHz clock frequency.
- Added lower voltage regulator settings down to 600. It looks like 600 is the min that our boards can go from what the specs look like.
- changed default IO scheduler to NOOP.
- reverted memcopy update.
- Updated for MIUI 1.11.25-11-30-11 build. Native WIFI AP should work properly.
- added a few more governors: InteractiveX, Scary, smartass, SavagedZen
- memory tweaks
- tweaked vmalloc allocation slightly - not as much as Isaac's HD fix though- so there should still be more available memory
- added Isaac's updated touchscreen driver
It's basically the same as the cm7 kernel but for MIUI.
- Added I/O schedulers cfq, vr, and sio. Go ahead and try them out if you want. I was able to set them using No Frills CPU control -- available free on the market.
Here's a link to a pretty good description of what seems to be most or all of the known available governors and IO schedulers in use in Android kernels by knzo at xda:
To sum up:
(in my (knzo's) humble opinion)
- Battery: 1st place - InteractiveX | 2nd place - Smartass | 3rd place - SavagedZen
- Performance: 1st place - Minmax | 2nd place - Smartass2 | 3rd place - SavagedZen
To sum up:
(in my (knzo's) humble opinion)
- Performance: 1st place - VR
- Reliability: 1st place - Simple
-Enabled detailed frequency translation statistics just so I can see the detailed stats of frequency usage.
-Added SVS for voltage control. You can set the voltage in one of 3 ways:
1. manually edit the vdd_levels file in /sys/devices/system/cpu/cpu0/cpufreq/ using either adb or a file manager.
2. Set up a script and put it into init.d to set the file upon boot.
3. The simplest way - use the IncrediControl app to set the voltage. You can read about it from this post on xda and a download link is also provided there or download it from the Market:
Thanks to b_randon14, chad0989, DoomLord, and Napstar whose code, posts, links and info helped a lot as well as the million posts from everyone that I read over the last few days...
- I'm using the following undervolt table on my phone in IncrediControl and it seems pretty stable; try out your own settings and see. The higher frequencies > 1.7 GHz would not undervolt for me without locking up and rebooting but your phone might fare better. I suggest that you DO NOT APPLY the settings on Boot until you are sure your phone is stable.
***If you undervolt too much and hose your phone, you can download this flashable zip in CWM to reset the Incredicontrol settings. Zip was provided by Incredicontrol site that is linked and I updated the script for the Triumph.
More aggressive undervolting table:
Less aggressive table:
-set default max freq to 1024 MHz - hopefully oddball phones will now boot - thanks to b_randon and pwnyourace for the advice
-added 2 GHz frequency line - thanks to b_randon14, DooMLoRD, Napstar and FPX
-Changed default governor to OnDemand
-turned off kernel debugging
-added tun.ko support
-added cifs support as a module
-the cifs.ko module that you can unzip and copy to /system/lib/modules using adb or es file explorer or another file manager with root read/write access can be downloaded from here: