[Module] X8MDDI - no more MDDI lags! | X8 | X10 mini | X10 mini pro | v001 | 28-04-11
Rom cookers: if you include this module in your ROM, please make a link to this post in your release post, so your users can know how to work with it and update the module themselves
Intro
Perhaps all of you know that all of our custom ROMs are laggy. It lags every 5 to 7 seconds. Fps2d clearly shows that.
dmesg shows that also:
Quote:
<3>[ 182.427293] Reverse pkt sent, no data rxd
<3>[ 182.431286] Reverse pkt sent, no data rxd
<3>[ 182.435279] Reverse pkt sent, no data rxd
<3>[ 182.439271] Reverse pkt sent, no data rxd
<3>[ 182.439299] Reverse pkt sent, no data rxd
<3>[ 182.439331] mddi_host_register_read - failed to get data from client<6>MDDI: Toshiba HVGA: MDDI read timeout/error
So what to do? It seems that the stock driver is buggy for custom ROMs.
I've been working with those stupid lags for some days, and now, here it is my friends :) No more stupid MDDI lags :)
Release history
April 28 v001. Release for x10 mini & x10 mini pro. Source published.
April 27 v001. First version.
Instruction for manual installation:
- Remount /system as rw, either with adb or with root explorer
- Download attached file, unzip, push x8mddi.ko to /system/lib/modules
- Change hw_config.sh in your /system/etc, add this code at the beginning
- Push modified hw_config.sh back to your phone, reboot
xRecovery updates:
There are many ROMs and many modules right now. I will not be able to maintain update.zip. You have to follow manual installation above.
x10 mini / x10 mini pro users
I've just uploaded a x10 mini and x10 mini pro version. Test it carefully by manually type insmod /system/lib/modules/x8mddi.ko before applying to hw_config.sh, otherwise you may get boot loop!
FAQs Q: How to know I installed it correctly? A: Check with fps2d (free from market) or you can check with this command (in your phone's terminal)
Code:
dmesg | grep x8mddi
If there is some output that means the module is loaded.
Or, more simply, play some games, try some scrolling in menus... It'll be almost no lag.
Q: What's the benefit of this module? A: You didn't read the above text, did you? It increases your phone's smoothness by eliminating the lag that happens every 5-7 seconds in custom ROMs. It isn't supposed to increase your fps.
Bug reports
When you report a bug please attach the following files:
- /system/etc/hw_config.sh
- A copy of logcat (you can use adb logcat > logcat-bug.txt)
- A copy of live dmesg (you can use adb shell cat /proc/kmsg > dmesg-bug.txt as soon as the device is ready)
Zip 3 files above and attach in to your post. Thanks.
Disclaimer
I'm not responsible if this module damages your lovely phone. Use it at your own risk!
Thank you for keeping the X8 scene alive, when everybody struggles to do something you come along and give it in our faces. Great Job man. Will flash ASAP.
EDIT: Just installed it and boy does it speed my rom up.
| Dark Blue/ White X8 | Launcher 7 | Android 2.1 |
| If you feel my answers helped you, hit the button |
Dammit, man, I didn't think you could actually mod anything more, and now this... Many thanks! Booting my phone right now with this new module, I'll see how it works
BTW, in your pinch2zoom thread I posted a question of what program should I use to decompile the andrej's module, change the finger detection fuzzyness and compile it again... so, what are you using for compiling those ko files? What language is it?
| White X8 | FroyoBread ROM | OC 768 MHz | CRT animation & other features |
| alfsamsung's theme | GO Launcher Ex | Gre home theme | Droid Sans Font |
| GO SMS pro | GO weather widget |
| doixanh FTW! |
It would be really nice if you'd improve andrej's version of your pinch module by making finger detection a little better so the zoom in/out would be more natural...
| Dark Blue/ White X8 | Launcher 7 | Android 2.1 |
| If you feel my answers helped you, hit the button |
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?