New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
carlo93
Old
(Last edited by carlo93; 2nd November 2011 at 06:47 PM.)
#11  
carlo93's Avatar
Senior Member
Thanks Meter 135
Posts: 323
Join Date: Jun 2011

 
DONATE TO ME
I've built an update-script which writes the module into "/system" partition.
In case of soft-brick, i've built another script which erases the file.

I've flashed it on CM7 ( 15th of october ) and it worked as the fix is already embedded in the ROM.
Let me know whether it works with other ROMs.

P.S. Scripts are written in Edify syntax.
Update: i forgot to include the init.d script that loads the fix once the device is on.
Now i've fixed. It should work!
Attached Files
File Type: zip mmcfix.zip - [Click for QR Code] (188.2 KB, 85 views)
File Type: zip mmcfix_undo.zip - [Click for QR Code] (186.2 KB, 46 views)
Motorola Defy (Red Lense, CM10 by Quarx) ~ Nexus 7 16GB (CM10.1)
The Following 2 Users Say Thank You to carlo93 For This Useful Post: [ Click to Expand ]
 
toffifee63
Old
#12  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Dec 2009
Could u please drop a few words about install procedure? Thx.
 
carlo93
Old
#13  
carlo93's Avatar
Senior Member
Thanks Meter 135
Posts: 323
Join Date: Jun 2011

 
DONATE TO ME
Quote:
Originally Posted by toffifee63 View Post
Could u please drop a few words about install procedure? Thx.
You've only to flash the zip through clockwork recovery mod.
Motorola Defy (Red Lense, CM10 by Quarx) ~ Nexus 7 16GB (CM10.1)
 
crakeron
Old
#14  
crakeron's Avatar
Senior Member - OP
Thanks Meter 217
Posts: 501
Join Date: Jul 2011
Location: Paris

 
DONATE TO ME
Quote:
Originally Posted by carlo93 View Post
I've built an update-script which writes the module into "/system" partition.
In case of soft-brick, i've built another script which erases the file.

I've flashed it on CM7 ( 15th of october ) and it worked as the fix is already embedded in the ROM.
Let me know whether it works with other ROMs.

P.S. Scripts are written in Edify syntax.
Update: i forgot to include the init.d script that loads the fix once the device is on.
Now i've fixed. It should work!
I've been looking on github on the CM7 project, and unfortunately it seems that there is not ONLY mmcfix.ko needed. We must figure out which files are needed in order for the fix to work :/ (i'm thinking of this "hangs.c" file if i remember correctly that appears in the C code in mmcfix.ko... I'll have a talk to quarx.
Sorry for the time it takes, i'm quite busy with my studies right now, but i haven't forgot you guys =).
 
espaciosalter20
Old
#15  
espaciosalter20's Avatar
Senior Member
Thanks Meter 666
Posts: 1,196
Join Date: Jun 2011
Location: Bogotá, Colombia, Colombia

 
DONATE TO ME
Default Solved!!

i figure out:

please, see this post

http://forum.xda-developers.com/show....php?t=1596997
 
crakeron
Old
#16  
crakeron's Avatar
Senior Member - OP
Thanks Meter 217
Posts: 501
Join Date: Jul 2011
Location: Paris

 
DONATE TO ME
Quote:
Originally Posted by espaciosalter20 View Post
i figure out:

please, see this post

http://forum.xda-developers.com/show....php?t=1596997
Oh, it wasn't as hard as i thought then :/..i was going waaay complicated in the init scripts ><. Anyway well done

Motorola Defy, CM7 @ 1Ghz + CM9 multiboot
[Guide] Install double boot CM7 + CM9
[Guide][Root needed] Unsimlock your Defy
 
JustWay
Old
(Last edited by JustWay; 12th May 2012 at 07:18 AM.) Reason: add more info
#17  
Junior Member
Thanks Meter 1
Posts: 3
Join Date: Feb 2012
Quote:
Originally Posted by espaciosalter20 View Post
i figure out:

please, see this post

http://forum.xda-developers.com/show....php?t=1596997
I can't post/reply at Development group, so I post here. The patch still have problem. After apply this path on MS2Ginger 3.0, any install app action from SD card will cause reboot problem. My phone is defy with red lens, and the sd card is transcend 16G c10 card.
 
notes1
Old
#18  
notes1's Avatar
Member
Thanks Meter 15
Posts: 95
Join Date: Jul 2011
Location: Auckland
need this fix, don't have a reader...

my SD cards were all recognised on stock froyo (not sure of build, possibly taiwan retail):? but now after new eclair and froyo sbfs the sdcards not recognised...weird huh?
 
popcorn1122
Old
#19  
popcorn1122's Avatar
Senior Member
Thanks Meter 159
Posts: 414
Join Date: Nov 2011
Location: Mumbai
I have a class 10 16GB.
The stock Froyo SEA 15 hangs often.... yesterday the defy said that SD card is damaged... but I did not format it and removed sdcard and put it in Nokia E5 and to my surprise it was working perfect there....
I have not installed your fix or any mcc fix till now.

This FIX is desparately needed.

For those who get the error that SD Card is damaged... please dont format it in your defy.
Use a computer or other mobile to format the sd card.
 
popcorn1122
Old
#20  
popcorn1122's Avatar
Senior Member
Thanks Meter 159
Posts: 414
Join Date: Nov 2011
Location: Mumbai
OK Guys got solution in this thread:
http://forum.xda-developers.com/show...00&postcount=2

Copy mmcfix.ko & symsearch.ko in /system/lib/modules and change the permissions to rw r r for both files.
Modify load_modules.sh as mentioned below and set permission as rwx r-x r-x

So just add the following lines in load_modules.sh files of /system/bin so it looks like this:

#!/system/bin/sh
export PATH=/system/bin:$PATH

# Install GAN virtual interface kernel module
if [ -e /system/lib/modules/kineto_gan.ko ]; then
insmod /system/lib/modules/kineto_gan.ko
insmod /system/lib/modules/symsearch.ko
insmod /system/lib/modules/mmcfix.ko
fi

Enjoy !!

Tags
defy, driver, fix, issue, sd card

XDA PORTAL POSTS

Responses From Ubuntu Pouring Into Ubuntu Touch Q&A Thread

Ubuntu has become the most successful *nix distribution for a number of reasons, … more

Heimdall Suite 1.4.0 Released

The release version of Heimdall Suite 1.4.0 is now available after an epic wait. You may remember hearing about … more

A Guide to Paid Work on XDA-Developers

For the longest time, XDA has been a bastion, a pillar in the world of development. This is … more