Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
llorn
Old
(Last edited by llorn; 13th May 2012 at 08:08 PM.) Reason: Updated to v1.7.14,fixed typo
#1  
Member - OP
Thanks Meter 42
Posts: 96
Join Date: Jul 2011
Default [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.

Instructions:

Flash Zip file in CWM.
mOCkv1.7.14
http://www.mediafire.com/?8p1n398mfd9w1fb

changelog:
mOCkv1.7.14.zip
A small update to bring this kernel in line with the cm9 kernel.
-Linux version 2.6.32.59
-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.

mOCkv1.6.12.zip
- 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:
https://market.android.com/details?i...x.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.

mOCkv1.5-wip-6.zip
http://tinyurl.com/c74vzlj
- 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

mOCkv1-wip-4.zip
http://tinyurl.com/c999gva
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:
http://forum.xda-developers.com/show....php?t=1242323

Governor:
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

IO Scheduler:
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:
http://forum.xda-developers.com/show....php?t=1201466

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.

http://tinyurl.com/7g26rtp

More aggressive undervolting table:
Code:
   61440:  675
  122880:  700
  245760:  750
  368640:  800
  460800:  875
  576000:  925
  652800:  975
  768000:  975
  806400: 1075
  921600: 1125
 1024000: 1175
 1113000: 1175
 1209600: 1175
 1305600: 1225
 1401600: 1225
 1516800: 1275
 1612800: 1275
 1708800: 1350
 1804800: 1400
 1900800: 1475
 2016000: 1500
Less aggressive table:
Code:
 61440: 800
122880: 800
245760: 850
368640: 850
460800: 900
576000: 950
652800: 1000
768000: 1000
806400: 1075
921600: 1125
1024000: 1175
1113000: 1175
1209600: 1175
1305600: 1225
1401600: 1225
1516800: 1275
1612800: 1275
1708800: 1350
1804800: 1400
1900800: 1475
2016000: 1525
-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:
http://tinyurl.com/6rg4hqx

source:
https://github.com/mantera/triumph-kernel-msm7x30
The Following 2 Users Say Thank You to llorn For This Useful Post: [ Click to Expand ]
 
crxmax
Old
#2  
Senior Member
Thanks Meter 4
Posts: 201
Join Date: May 2010
Location: sacramento
ive never messed with over clocking...whats the steps after i flash the zip?
 
llorn
Old
#3  
Member - OP
Thanks Meter 42
Posts: 96
Join Date: Jul 2011
Quote:
Originally Posted by crxmax View Post
ive never messed with over clocking...whats the steps after i flash the zip?
1. You can either download No Frills CPU -- free on the Market-- or SetCPU - paid on the market or also available on XDA (just do a search). These apps will allow you to change the clock frequency. I would suggest going up a little at a time and then run some benchmarking/stress testing to make sure your phone can handle that. Once you figure out what your phone can't handle, then drop down to a stable clock frequency that you're comfortable with. Remember, there's always a risk with overclocking.

2. If you also want to undervolt your processor, then download IncrediControl from the market or from the link in the OP and try changing your voltage. Don't set it to apply on boot until you are sure your phone won't have problems; and by problems, I mean force closes, reboots, lockups, etc.
 
llorn
Old
(Last edited by llorn; 29th November 2011 at 05:32 AM.) Reason: updated changelog
#4  
Member - OP
Thanks Meter 42
Posts: 96
Join Date: Jul 2011
V1.5 is released.

Updated OP:

changelog:
mOCkv1.5-wip-6.zip
- Updated for new MIUI version whenever that is available. 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
 
llorn
Old
#5  
Member - OP
Thanks Meter 42
Posts: 96
Join Date: Jul 2011
Updated OP.

changelog:
mOCkv1.6.12.zip
- 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:
https://market.android.com/details?i...x.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.
The Following User Says Thank You to llorn For This Useful Post: [ Click to Expand ]
 
Free Radical
Old
#6  
Senior Member
Thanks Meter 243
Posts: 334
Join Date: Apr 2011
Hey llorn.
Thank you for this excellent kernel. Have been using it on MIUI 2.2.3 on my MI-410.

Can you please compile it for MIUIv4 (ICS)?
I am using this rom
 
llorn
Old
#7  
Member - OP
Thanks Meter 42
Posts: 96
Join Date: Jul 2011
Default v1.7.14

changelog:
mOCkv1.7.14.zip
A small update to bring this kernel in line with the cm9 kernel.
-Linux version 2.6.32.59
-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.
The Following 2 Users Say Thank You to llorn For This Useful Post: [ Click to Expand ]
 
cheezzzz
Old
#8  
Senior Member
Thanks Meter 31
Posts: 194
Join Date: Nov 2011
Quote:
Originally Posted by llorn View Post
changelog:
mOCkv1.7.14.zip
A small update to bring this kernel in line with the cm9 kernel.
-Linux version 2.6.32.59
-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.
anyone tested this on their GB roms yet? how is it?
 
Free Radical
Old
(Last edited by Free Radical; 15th May 2012 at 05:39 AM.)
#9  
Senior Member
Thanks Meter 243
Posts: 334
Join Date: Apr 2011
Been using it for the last couple of days.
Working great.
Now that I am up and running back again, expect a MIUI gb update soon

@llorn
Please make a .35 kernel for MIUIv4 too.

That's like the only thing stopping me from trying out MIUI ics

Sent from my Spice MI-410 on my MIUI 2.4.6 port
 
Arya_3RDNumber
Old
#10  
Arya_3RDNumber's Avatar
Senior Member
Thanks Meter 72
Posts: 372
Join Date: Feb 2012
Location: Bekasi
Sorry if I repeatedly questions
But I want to know,,is this kernel support for mount linux swap and ext4 SD Card Partition?,,last tried I using MIUI 2.4.20 using this kernel,and got issue when mounting ext4 SDCard
Please anyone explain me about kernel details
Thanks

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...