Ive tested it second ago, for me it works
I mean sd speed has jumped form 4,3 to 5,2 on ICS its to less for class 10 card, i had 7,3 on other soft (dont remember which;P)
I've applied it to MS2Ginger 3.0, but I'm still having the same strange issues as with the stock ROM or before the fix. Sometimes the camera does not save the photo, sometimes Mantano Reader drops Force Close and writes JDBC exception into the system log (trying to update database on SD card). How can I check if the mmcfix module is loaded into the memory? These issues never occur when I use CM-based ROMs, although I'm using the same kernel. Install-recovery.sh is present, I copied the script and the module to the right places and set the right permissions.
I've made a zip file for recovery.
I think it works but i haven't tested it yet. Wil do it later
install-recovery.sh is included, i hope that even if somebody have this file i doesn't matter
Enjoy!
PS. If it works, add it to the first post
Permissions are the same as in the first post, different for every file Someone tried my zip? Works fine?
Ok, you must have "terminal emulator" (from play store), and run this command :
lsmod
it must say (among other things):
symsearch 667 5 multitouch,mmcfix,backlight,cpufreq_smartass,cpufreq_interactive,[permanent], Live 0xbf015000
..........
mmcfix 1409 0 - Live 0xbf076000
If not, please, pm a logcat after boot
Enviado desde mi MB526 usando Tapatalk
There's no mmcfix in the lsmod output with MS2Ginger, only overclock, netmux, netmux_linkdriver, modem_pm_driver, sec and vpnclient. I've tried it with CM7 also and seen it. Somehow the MS2Ginger does not load the mmcfix module, strange. I copied everything in place and set the right permissions. My install_recovery.sh looks like this:
#!/system/bin/sh
bb=/system/xbin/busybox
if [ -f $bb ]; then
/system/bin/logwrapper $bb run-parts /system/etc/init.d
else
for i in $(ls /system/etc/init.d/*); do
sh $i
done
fi
I think it's OK.
Sorry for ask but... Do you have init.d folder??
Enviado desde mi MB526 usando Tapatalk
Of course, that's where I've copied the 09mmcfix script with Root Explorer.
That's weird, because i have ms2ginger 4.0 and the fix it's working perfectly.
Check which files are in init.d folder and tell me
Enviado desde mi MB526 usando Tapatalk
That's weird, because i have ms2ginger 4.0 and the fix it's working perfectly.
Check which files are in init.d folder and tell me
Enviado desde mi MB526 usando Tapatalk
I've integrated mmcfix into my ROM, you can download it and extract the archive. I think everything's in place, but it just does not get loaded. Btw, the /etc/init.d folder contains the following files:
08backlight
09mmcfix
90multitouch
S70zipalign
S97ramscript
S99SuperCharger
Sorry for keeping you checking things, but... can you transcribe the content of 09mmcfix? I´m about to think that this problem it's caused for busybox in your rom, because that isn't calling the module to load in kernel in boot....
User of stock and ms2ginger roms, please report here if the fix is working or not for you.
Thanx!!!
I tried it on stock ROM (45.0.74.MB526.Retail.en.DE android 2.3.4 kernel 2.6.32.9-gbdd614e, build 4.5.1-134_DFP-74) but lsmod doesn't show mmcfix... when I try to load it manually, I get error:
insmod: can't insert '/system/lib/modules/mmcfix.ko': unknown symbol in module or invalid parameter
<br />Originally Posted by krysha<br />
I tried it on stock ROM (45.0.74.MB526.Retail.en.DE android 2.3.4 kernel 2.6.32.9-gbdd614e, build 4.5.1-134_DFP-74) but lsmod doesn't show mmcfix... when I try to load it manually, I get error:<br />
insmod: can't insert '/system/lib/modules/mmcfix.ko': unknown symbol in module or invalid parameter
<br />
After a little investigation I found out that:<ol style="list-style-type: decimal"><li>mmcfix depends on symsearch, as the modules.dep file says in CM7.2 ROMs</li>
<li>mmcfix is loaded after symsearch by /system//bootmenu/2nd-init/init.mapphone_umts.rc in CM</li>
</ol><br />
So it should be loaded like this on stock ROMs and MS2Ginger also, not via install_recovery.sh. I will try it this way if I have time.
Yes, that's the other workaround that i was investigating but symsearch is difficult to make it in a persistent way, I tried in init.rc with no positive result. The install-recovery script works for me and others as well. But keep researching for see what else can do the trick.
Enviado desde mi MB526 usando Tapatalk
And what if we load symsearch before in 09mmcfix script like this? I haven't written any linux script like this before, so correct me, if I'm wrong.
#!/system/bin/sh
#
# load mmcfix module
# Module location
SYM="/system/lib/modules/symsearch.ko"
MODULE="/system/lib/modules/mmcfix.ko"
# Load the module
insmod $SYM
insmod $MODULE
And what if we load symsearch before in 09mmcfix script like this? I haven't written any linux script like this before, so correct me, if I'm wrong.
#!/system/bin/sh
#
# load mmcfix module
# Module location
SYM="/system/lib/modules/symsearch.ko"
MODULE="/system/lib/modules/mmcfix.ko"
# Load the module
insmod $SYM
insmod $MODULE
Yeah, that totally works! I think you should include this advice in the first post.
So this is the fix that fixes the problem of high class microsd. I have a microsd class 10 and the Walter roms always had the problem that was changed to read-only mode, but never had that problem on CM7
Thank you for sharing this
Isn't the mmcfix included in CM7 since months?
Don't know if the mmcfix is required to CM9
Good job!! I had this issue on Stock rom but on cm7 it works fine
My class 10 speed got reduced to 2-3 MBps but before it was 10+ MBps.. can I fix that?