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:
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.
Source is provided at github : https://github.com/doixanh/X8Features Feel free to contribute / improve the modules
Requirements
- Rooted
- Latest baseband (xxx015)
- Some basic knowledge
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)
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!
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:
<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
Release history
April 28 v001. Release for x10 mini & x10 mini pro. Source published.
April 27 v001. First version.
Source is provided at github : https://github.com/doixanh/X8Features Feel free to contribute / improve the modules
Requirements
- Rooted
- Latest baseband (xxx015)
- Some basic knowledge
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
Code:
insmod /system/lib/modules/x8mddi.ko # fix mddi lags
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
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!
Attachments
Last edited: