FORUMS
Remove All Ads from XDA

[Module] X8MDDI - no more MDDI lags! | X8 | X10 mini | X10 mini pro | v001 | 28-04-11

1,254 posts
Thanks Meter: 4,771
 
By doixanh, Recognized Developer on 27th April 2011, 10:31 PM
Post Reply Email Thread
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.

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
- 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!
Attached Thumbnails
Click image for larger version

Name:	x8mddi.png
Views:	45396
Size:	8.4 KB
ID:	580063  
Attached Files
File Type: zip x8mddi-v001.zip - [Click for QR Code] (1.2 KB, 8119 views)
File Type: zip x8mddi-v001-x10m.zip - [Click for QR Code] (1.2 KB, 784 views)
File Type: zip x8mddi-v001-x10mp.zip - [Click for QR Code] (1.2 KB, 1344 views)
The Following 86 Users Say Thank You to doixanh For This Useful Post: [ View ]
 
 
27th April 2011, 10:33 PM |#2  
Senior Member
Flag Bucharest
Thanks Meter: 33
 
More
Another great module, thanks Module man
27th April 2011, 10:34 PM |#3  
Senior Member
Thanks Meter: 37
 
More
can you make this for the mini (pro)
do you need a specific file for this?

edit: what is this actually?? :P
does it make the phone run smoother?

sorry didnt read your whole post:P
27th April 2011, 10:36 PM |#4  
Recognized Developer
Thanks Meter: 879
 
Donate to Me
More
Oh maaan , u are genius !
Thanks again !

Works great on CM7-54, no lag, no dmesg errors, better battery and smoother gaming !!!
The Following User Says Thank You to racht For This Useful Post: [ View ]
27th April 2011, 10:46 PM |#5  
CaptainZap's Avatar
Senior Member
Thanks Meter: 40
 
More
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.
Aiduharan
27th April 2011, 10:46 PM |#6  
Guest
Thanks Meter: 0
 
More
Omg the whole x8 community lies to ur feet

Sent from my X8 using XDA App
27th April 2011, 10:46 PM |#7  
Senior Member
Flag Łódź
Thanks Meter: 239
 
More
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?
27th April 2011, 10:54 PM |#8  
OP Recognized Developer
Thanks Meter: 4,771
 
Donate to Me
More
You don't need to decompile. I'll get the idea and try to improve
The Following 5 Users Say Thank You to doixanh For This Useful Post: [ View ]
27th April 2011, 11:03 PM |#9  
nobodyAtall's Avatar
Recognized Developer
Flag Patras
Thanks Meter: 19,435
 
Donate to Me
More
This is really neat mate!

It can be useful for the mini also
The Following 2 Users Say Thank You to nobodyAtall For This Useful Post: [ View ]
27th April 2011, 11:04 PM |#10  
CaptainZap's Avatar
Senior Member
Thanks Meter: 40
 
More
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...
The Following 2 Users Say Thank You to CaptainZap For This Useful Post: [ View ] Gift CaptainZap Ad-Free
27th April 2011, 11:07 PM |#11  
wujekandrzej's Avatar
Senior Member
Thanks Meter: 20
 
More
thanks again for your unbelivable contribution to our community - you're simply great. you make me want to refresh the development section again and again, who knows when the new mod will be released, and what will be the new improvement. doixanh for president! =)
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes